diff --git a/.config/awesome/autostart.sh b/.config/awesome/autostart.sh deleted file mode 100755 index 4bc46b4..0000000 --- a/.config/awesome/autostart.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/bash - -function run { - if ! pgrep $1 ; - then - $@& - fi -} -#run "xrandr --output VGA-1 --primary --mode 1360x768 --pos 0x0 --rotate normal" -#run "xrandr --output HDMI2 --mode 1920x1080 --pos 1920x0 --rotate normal --output HDMI1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output VIRTUAL1 --off" -run "nm-applet" -#run "caffeine" -run "xfce4-power-manager" -run "blueberry-tray" -run "/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1" -run "numlockx on" -run "volumeicon" -run "nitrogen --restore" -#run "conky -c $HOME/.config/awesome/system-overview" - -#run applications from startup -#run "firefox" -#run "atom" -#run "dropbox" -#run "insync start" -#run "spotify" diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 37d657b..7b872c0 100755 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -116,22 +116,18 @@ local virtualmachine = "virtualbox" -- awesome variables awful.util.terminal = terminal --awful.util.tagnames = { " ", " ", " ", " ", " ", " ", " ", " ", " ", " " } ---awful.util.tagnames = { "⠐", "⠡", "⠲", "⠵", "⠻", "⠿" } ---awful.util.tagnames = { "⌘", "♐", "⌥", "ℵ" } awful.util.tagnames = { " DEV ", " WWW ", " SYS ", " DOC ", " VBOX ", " CHAT ", " MUS ", " VID ", " GFX " } --- Use this : https://fontawesome.com/cheatsheet ---awful.util.tagnames = { "", "", "", "", "" } awful.layout.suit.tile.left.mirror = true awful.layout.layouts = { awful.layout.suit.tile, awful.layout.suit.floating, - awful.layout.suit.tile.left, - awful.layout.suit.tile.bottom, - awful.layout.suit.tile.top, + --awful.layout.suit.tile.left, + --awful.layout.suit.tile.bottom, + --awful.layout.suit.tile.top, --awful.layout.suit.fair, --awful.layout.suit.fair.horizontal, - awful.layout.suit.spiral, - awful.layout.suit.spiral.dwindle, + --awful.layout.suit.spiral, + --awful.layout.suit.spiral.dwindle, awful.layout.suit.max, --awful.layout.suit.max.fullscreen, awful.layout.suit.magnifier, @@ -269,7 +265,7 @@ globalkeys = my_table.join( -- dmenu awful.key({ modkey, "Shift" }, "Return", function () - awful.spawn(string.format("dmenu_run -i -nb '#292d3e' -nf '#bbc5ff' -sb '#82AAFF' -sf '#292d3e' -fn 'Mononoki Nerd Font:bold:pixelsize=14'", + awful.spawn(string.format("dmenu_run", beautiful.bg_normal, beautiful.fg_normal, beautiful.bg_focus, beautiful.fg_focus)) end, {description = "show dmenu", group = "hotkeys"}), @@ -898,5 +894,7 @@ client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_n -- }}} -- Autostart applications -awful.spawn.with_shell("~/.config/awesome/autostart.sh") +awful.spawn.with_shell("nitrogen --restore") awful.spawn.with_shell("compton --config $HOME/.config/compton/compton.conf") +awful.spawn.with_shell("nm-applet") +awful.spawn.with_shell("volumeicon") diff --git a/.config/awesome/themes/powerarrow-blue/theme.lua b/.config/awesome/themes/powerarrow-blue/theme.lua index aff462d..438e46c 100755 --- a/.config/awesome/themes/powerarrow-blue/theme.lua +++ b/.config/awesome/themes/powerarrow-blue/theme.lua @@ -15,7 +15,7 @@ local my_table = awful.util.table or gears.table -- 4.{0,1} compatibility local theme = {} theme.dir = os.getenv("HOME") .. "/.config/awesome/themes/powerarrow-blue" -theme.wallpaper = theme.dir .. "/starwars.jpg" +--theme.wallpaper = theme.dir .. "/starwars.jpg" theme.font = "Mononoki Nerd Font 9" theme.taglist_font = "Droid Sans Bold 7" theme.fg_normal = "#ffffff" diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 7a07df0..e750b1f 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -75,7 +75,7 @@ let g:lightline = { set laststatus=2 " Use 256 colours (Use this setting only if your terminal supports 256 colours) -set t_Co=256 +"set t_Co=256 syntax enable set number relativenumber diff --git a/.spectrwm.conf b/.spectrwm.conf index 5c43430..6eb66e3 100644 --- a/.spectrwm.conf +++ b/.spectrwm.conf @@ -4,9 +4,9 @@ workspace_limit = 9 focus_mode = follow -focus_close = previous +focus_close = last focus_close_wrap = 1 -focus_default = last +focus_default = first spawn_position = next workspace_clamp = 0 warp_focus = 1 @@ -134,7 +134,7 @@ modkey = Mod4 # quirk[Xitk:Xine Window] = FLOAT + ANYWHERE # quirk[xine:xine Video Fullscreen Window] = FULLSCREEN + FLOAT # quirk[pcb:pcb] = FLOAT -# + # Key bindings for United States (us) keyboards # unbind with: bind[] = bind[bar_toggle] = MOD+b