From 5a7bd52b09cec5975fc6966e76552030fd95d93c Mon Sep 17 00:00:00 2001 From: Daniel Holman Date: Sun, 21 Oct 2018 13:26:44 -0500 Subject: Changed wallpaper manager to nitrogen --- .config/i3/config | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/.config/i3/config b/.config/i3/config index 9c2e667..493eb7f 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -36,7 +36,7 @@ bindsym $mod+Return exec i3-sensible-terminal bindsym $mod+Shift+q kill # start dmenu (a program launcher) -bindsym $mod+d exec j4-dmenu-desktop +bindsym $mod+d exec i3-dmenu-desktop # There also is the (new) i3-dmenu-desktop which only displays applications # shipping a .desktop file. It is a wrapper around dmenu, so you need that # installed. @@ -148,9 +148,6 @@ mode "$mode_system" { bindsym Escape mode "default" } -# Put displays where they belong -exec --no-startup-id xrandr --auto --output HDMI-0 --mode 1600x900 --right-of DVI-I-0 - # Custom key maps bindsym $mod+Shift+k resize grow height 10 px or 10 ppt bindsym $mod+Shift+j resize shrink height 10 px or 10 ppt @@ -174,25 +171,26 @@ gaps inner 15 gaps outer 15 # Start helpful programs -exec --no-startup-id compton exec --no-startup-id polybar -r main0 exec --no-startup-id polybar -r main1 -exec --no-startup-id cadence-session-start -s -exec --no-startup-id /usr/lib/notify-osd/notify-osd -exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 -exec --no-startup-id feh --bg-scale ~/Pictures/temple.jpg -exec --no-startup-id nm-applet -exec --no-startup-id tilda +exec --no-startup-id polybar -r main2 +exec --no-startup-id redshift-gtk +exec --no-startup-id xset dpms 600 exec --no-startup-id xautolock -time 10 -locker "i3lock -c 000000" -exec --no-startup-id discord -exec --no-startup-id steam-native -exec --no-startup-id mailnag +exec --no-startup-id alsactl --file ~/.config/asound.state restore +exec --no-startup-id nitrogen --restore +exec --no-startup-id compton +exec --no-startup-id dex -a # Play nice with Steam windows -for_window [class="^Steam$" title="^Friends$"] floating enable +for_window [class="^Steam$" title="^Friends List$"] floating enable for_window [class="^Steam$" title="Steam - News"] floating enable for_window [class="^Steam$" title=".* - Chat"] floating enable for_window [class="^Steam$" title=".* - event started"] floating enable +for_window [class="^Steam$" title="^Servers$"] floating enable # pinentry for_window [title="pinentry$"] floating enable + +# Discord splash-screen +for_window [title="Discord Updater$"] floating enable -- cgit v1.2.3 From ae891221f6a61edaad49ceda6f3ee8142c8b2ef0 Mon Sep 17 00:00:00 2001 From: Daniel Holman Date: Sun, 21 Oct 2018 13:47:34 -0500 Subject: Disabled vim-modeline in zsh powerline --- .config/powerline/themes/shell/default.json | 40 +++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .config/powerline/themes/shell/default.json diff --git a/.config/powerline/themes/shell/default.json b/.config/powerline/themes/shell/default.json new file mode 100644 index 0000000..16d8b9c --- /dev/null +++ b/.config/powerline/themes/shell/default.json @@ -0,0 +1,40 @@ +{ + "segments": { + "left": [ + { + "function": "powerline.segments.common.net.hostname", + "priority": 10 + }, + { + "function": "powerline.segments.common.env.user", + "priority": 30 + }, + { + "function": "powerline.segments.common.env.virtualenv", + "priority": 50 + }, + { + "function": "powerline.segments.shell.cwd", + "priority": 10 + }, + { + "function": "powerline.segments.shell.jobnum", + "priority": 20 + } + ], + "right": [ + { + "function": "powerline.segments.shell.last_pipe_status", + "priority": 10 + }, + { + "function": "powerline.segments.common.vcs.stash", + "priority": 50 + }, + { + "function": "powerline.segments.common.vcs.branch", + "priority": 40 + } + ] + } +} -- cgit v1.2.3 From c2bd1d850cea1f55862ad2a78424dfad53945d72 Mon Sep 17 00:00:00 2001 From: Daniel Holman Date: Sun, 21 Oct 2018 13:47:34 -0500 Subject: Disabled vim-modeline in zsh powerline --- .config/powerline/themes/shell/default.json | 40 +++++++++++++++++++++++++++++ .tmux.conf | 2 ++ 2 files changed, 42 insertions(+) create mode 100644 .config/powerline/themes/shell/default.json diff --git a/.config/powerline/themes/shell/default.json b/.config/powerline/themes/shell/default.json new file mode 100644 index 0000000..16d8b9c --- /dev/null +++ b/.config/powerline/themes/shell/default.json @@ -0,0 +1,40 @@ +{ + "segments": { + "left": [ + { + "function": "powerline.segments.common.net.hostname", + "priority": 10 + }, + { + "function": "powerline.segments.common.env.user", + "priority": 30 + }, + { + "function": "powerline.segments.common.env.virtualenv", + "priority": 50 + }, + { + "function": "powerline.segments.shell.cwd", + "priority": 10 + }, + { + "function": "powerline.segments.shell.jobnum", + "priority": 20 + } + ], + "right": [ + { + "function": "powerline.segments.shell.last_pipe_status", + "priority": 10 + }, + { + "function": "powerline.segments.common.vcs.stash", + "priority": 50 + }, + { + "function": "powerline.segments.common.vcs.branch", + "priority": 40 + } + ] + } +} diff --git a/.tmux.conf b/.tmux.conf index 5e82cbf..71897c6 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -1,3 +1,5 @@ set -g default-terminal "tmux-256color" set -g terminal-overrides ",xterm-termite:Tc" set -g mouse on + +source /usr/lib/python3.7/site-packages/powerline/bindings/tmux/powerline.conf -- cgit v1.2.3 From 3d754b36ae97c27232e657a8d7770891b77ea29a Mon Sep 17 00:00:00 2001 From: Daniel Holman Date: Mon, 22 Oct 2018 19:30:58 -0500 Subject: Customized the git prompt of Powerline --- .config/powerline/themes/shell/default.json | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/.config/powerline/themes/shell/default.json b/.config/powerline/themes/shell/default.json index 16d8b9c..9fceca6 100644 --- a/.config/powerline/themes/shell/default.json +++ b/.config/powerline/themes/shell/default.json @@ -1,6 +1,10 @@ { "segments": { "left": [ + { + "function": "powerline.segments.shell.last_pipe_status", + "priority": 10 + }, { "function": "powerline.segments.common.net.hostname", "priority": 10 @@ -15,7 +19,17 @@ }, { "function": "powerline.segments.shell.cwd", - "priority": 10 + "priority": 10, + "args": { + "dir_limit_depth": 2 + } + }, + { + "function": "powerline.segments.common.vcs.branch", + "priority": 40, + "args": { + "status_colors": true + } }, { "function": "powerline.segments.shell.jobnum", @@ -23,17 +37,9 @@ } ], "right": [ - { - "function": "powerline.segments.shell.last_pipe_status", - "priority": 10 - }, { "function": "powerline.segments.common.vcs.stash", "priority": 50 - }, - { - "function": "powerline.segments.common.vcs.branch", - "priority": 40 } ] } -- cgit v1.2.3