Added zoha configuration and embedded into awesome + some fixes.

This commit is contained in:
Johannes Findeisen 2024-07-08 01:49:29 +02:00
commit ce5de86da1
4 changed files with 47 additions and 2 deletions

View file

@ -93,9 +93,9 @@ end
-- Table of layouts to cover with awful.layout.inc, order matters.
awful.layout.layouts = {
awful.layout.suit.fair,
awful.layout.suit.tile,
awful.layout.suit.tile.left,
awful.layout.suit.fair,
--awful.layout.suit.fair.horizontal,
lain.layout.centerwork,
--lain.layout.centerwork.horizontal,
@ -272,6 +272,8 @@ globalkeys = gears.table.join(
-- Dropdown application
awful.key({ modkey, }, "q", function () awful.screen.focused().quake:toggle() end,
{description = "dropdown application", group = "launcher"}),
awful.key({ modkey, }, "a", function() awful.util.spawn("/home/hanez/.cargo/bin/zoha -s") end,
{ description="set backlight", group="awesome" }),
-- Set backlight
awful.key({ modkey, }, "1", function() awful.util.spawn("/usr/bin/xbacklight -set 10") end,

1
.gitignore vendored
View file

@ -41,6 +41,7 @@
!.vim/**
.vim/.netrwhist
!.xinitrc
!.zoha.toml
!.zsh
!.zsh/**
!.zshrc

42
.zoha.toml Normal file
View file

@ -0,0 +1,42 @@
[process]
[font]
font = "Source Code Pro"
size = 16
[keys]
quit = "Shift-Ctrl-Alt-q"
tab_add = "Shift-Ctrl-t"
tab_close = "Shift-Ctrl-w"
[display]
#height_percentage = "80"
#width_percentage = "80"
#width = 1800
#height = 1024
#x_pos = 380
#fullscreen = true
always_on_top = true
monitor = "0"
skip_task_bar = true
start_hidden = true
sticky = true
tab_mode = "Auto"
scrollbar_position = "Right"
tab_expand = false
tab_title_num_characters = 24
[color]
#pallet = "Linux"
pallet = "RXVT"
#pallet = "Snazzy"
#pallet = "SolarizedDark"
#pallet = "SolarizedLight"
#pallet = "Tango"
#pallet = "XTerm"
#pallet = "Zenburn"
allow_bold = false
bg = "rgba(0,0,0,0)"
cursor_blink = truei
cursor = "rgba(0.98, 0.647 ,0, 0)"

2
.zshrc
View file

@ -28,7 +28,7 @@ export CHROME_EXECUTABLE=/usr/bin/google-chrome-stable
# Export the $EDITOR and $TERMINAL
export BROWSER=/usr/bin/firefox
export EDITOR=/usr/bin/vim
export TERMINAL='/usr/bin/uxterm -bg black -fg grey -sb -leftbar -si -bc -cr orange -fa "NotoMono Nerd Font Mono" -fs 13'
export TERMINAL='/usr/bin/uxterm -bg black -fg grey -sb -leftbar -si -bc -cr orange -fa "Source Code Pro" -fs 14'
# Fix to make JAVA applications behave more friendly in awesome. Still many JAVA apps
# suck in awesome. PyCharm works perfect, Arduino does not!