From 209c259493130e4cc0ea2618e2fc7de482b594e6 Mon Sep 17 00:00:00 2001 From: Johannes Findeisen Date: Mon, 8 Jul 2024 01:49:29 +0200 Subject: [PATCH] Added zoha configuration and embedded into awesome + some fixes. --- .config/awesome/rc.lua | 4 +++- .gitignore | 1 + .zoha.toml | 42 ++++++++++++++++++++++++++++++++++++++++++ .zshrc | 2 +- 4 files changed, 47 insertions(+), 2 deletions(-) create mode 100644 .zoha.toml diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 38f5b24a..45af4141 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -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, diff --git a/.gitignore b/.gitignore index ddb6d49f..98dc7b8a 100644 --- a/.gitignore +++ b/.gitignore @@ -41,6 +41,7 @@ !.vim/** .vim/.netrwhist !.xinitrc +!.zoha.toml !.zsh !.zsh/** !.zshrc diff --git a/.zoha.toml b/.zoha.toml new file mode 100644 index 00000000..b4c04b3b --- /dev/null +++ b/.zoha.toml @@ -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)" + diff --git a/.zshrc b/.zshrc index 011fb448..c0b7c878 100644 --- a/.zshrc +++ b/.zshrc @@ -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!