mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-19 13:46:17 +10:00
Working on awesome a bit.
This commit is contained in:
@@ -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"
|
|
||||||
@@ -116,22 +116,18 @@ local virtualmachine = "virtualbox"
|
|||||||
-- awesome variables
|
-- awesome variables
|
||||||
awful.util.terminal = terminal
|
awful.util.terminal = terminal
|
||||||
--awful.util.tagnames = { " ", " ", " ", " ", " ", " ", " ", " ", " ", " " }
|
--awful.util.tagnames = { " ", " ", " ", " ", " ", " ", " ", " ", " ", " " }
|
||||||
--awful.util.tagnames = { "⠐", "⠡", "⠲", "⠵", "⠻", "⠿" }
|
|
||||||
--awful.util.tagnames = { "⌘", "♐", "⌥", "ℵ" }
|
|
||||||
awful.util.tagnames = { " DEV ", " WWW ", " SYS ", " DOC ", " VBOX ", " CHAT ", " MUS ", " VID ", " GFX " }
|
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.suit.tile.left.mirror = true
|
||||||
awful.layout.layouts = {
|
awful.layout.layouts = {
|
||||||
awful.layout.suit.tile,
|
awful.layout.suit.tile,
|
||||||
awful.layout.suit.floating,
|
awful.layout.suit.floating,
|
||||||
awful.layout.suit.tile.left,
|
--awful.layout.suit.tile.left,
|
||||||
awful.layout.suit.tile.bottom,
|
--awful.layout.suit.tile.bottom,
|
||||||
awful.layout.suit.tile.top,
|
--awful.layout.suit.tile.top,
|
||||||
--awful.layout.suit.fair,
|
--awful.layout.suit.fair,
|
||||||
--awful.layout.suit.fair.horizontal,
|
--awful.layout.suit.fair.horizontal,
|
||||||
awful.layout.suit.spiral,
|
--awful.layout.suit.spiral,
|
||||||
awful.layout.suit.spiral.dwindle,
|
--awful.layout.suit.spiral.dwindle,
|
||||||
awful.layout.suit.max,
|
awful.layout.suit.max,
|
||||||
--awful.layout.suit.max.fullscreen,
|
--awful.layout.suit.max.fullscreen,
|
||||||
awful.layout.suit.magnifier,
|
awful.layout.suit.magnifier,
|
||||||
@@ -269,7 +265,7 @@ globalkeys = my_table.join(
|
|||||||
-- dmenu
|
-- dmenu
|
||||||
awful.key({ modkey, "Shift" }, "Return",
|
awful.key({ modkey, "Shift" }, "Return",
|
||||||
function ()
|
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))
|
beautiful.bg_normal, beautiful.fg_normal, beautiful.bg_focus, beautiful.fg_focus))
|
||||||
end,
|
end,
|
||||||
{description = "show dmenu", group = "hotkeys"}),
|
{description = "show dmenu", group = "hotkeys"}),
|
||||||
@@ -898,5 +894,7 @@ client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_n
|
|||||||
-- }}}
|
-- }}}
|
||||||
|
|
||||||
-- Autostart applications
|
-- 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("compton --config $HOME/.config/compton/compton.conf")
|
||||||
|
awful.spawn.with_shell("nm-applet")
|
||||||
|
awful.spawn.with_shell("volumeicon")
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ local my_table = awful.util.table or gears.table -- 4.{0,1} compatibility
|
|||||||
|
|
||||||
local theme = {}
|
local theme = {}
|
||||||
theme.dir = os.getenv("HOME") .. "/.config/awesome/themes/powerarrow-blue"
|
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.font = "Mononoki Nerd Font 9"
|
||||||
theme.taglist_font = "Droid Sans Bold 7"
|
theme.taglist_font = "Droid Sans Bold 7"
|
||||||
theme.fg_normal = "#ffffff"
|
theme.fg_normal = "#ffffff"
|
||||||
|
|||||||
@@ -75,7 +75,7 @@ let g:lightline = {
|
|||||||
set laststatus=2
|
set laststatus=2
|
||||||
|
|
||||||
" Use 256 colours (Use this setting only if your terminal supports 256 colours)
|
" Use 256 colours (Use this setting only if your terminal supports 256 colours)
|
||||||
set t_Co=256
|
"set t_Co=256
|
||||||
|
|
||||||
syntax enable
|
syntax enable
|
||||||
set number relativenumber
|
set number relativenumber
|
||||||
|
|||||||
@@ -4,9 +4,9 @@
|
|||||||
|
|
||||||
workspace_limit = 9
|
workspace_limit = 9
|
||||||
focus_mode = follow
|
focus_mode = follow
|
||||||
focus_close = previous
|
focus_close = last
|
||||||
focus_close_wrap = 1
|
focus_close_wrap = 1
|
||||||
focus_default = last
|
focus_default = first
|
||||||
spawn_position = next
|
spawn_position = next
|
||||||
workspace_clamp = 0
|
workspace_clamp = 0
|
||||||
warp_focus = 1
|
warp_focus = 1
|
||||||
@@ -134,7 +134,7 @@ modkey = Mod4
|
|||||||
# quirk[Xitk:Xine Window] = FLOAT + ANYWHERE
|
# quirk[Xitk:Xine Window] = FLOAT + ANYWHERE
|
||||||
# quirk[xine:xine Video Fullscreen Window] = FULLSCREEN + FLOAT
|
# quirk[xine:xine Video Fullscreen Window] = FULLSCREEN + FLOAT
|
||||||
# quirk[pcb:pcb] = FLOAT
|
# quirk[pcb:pcb] = FLOAT
|
||||||
#
|
|
||||||
# Key bindings for United States (us) keyboards
|
# Key bindings for United States (us) keyboards
|
||||||
# unbind with: bind[] = <keys>
|
# unbind with: bind[] = <keys>
|
||||||
bind[bar_toggle] = MOD+b
|
bind[bar_toggle] = MOD+b
|
||||||
|
|||||||
Reference in New Issue
Block a user