Set default term and added ncdu

This commit is contained in:
dbroqua 2020-11-03 14:48:22 +01:00
parent b59bc034e5
commit 8ad94b0d09

View file

@ -45,6 +45,9 @@ set $modalHeight 800
# Font # Font
set $font DejaVu Sans Mono 9 set $font DejaVu Sans Mono 9
# Terminal
set $terminal /usr/bin/i3-sensible-terminal
# Border # Border
default_border pixel 4 default_border pixel 4
@ -193,14 +196,14 @@ client.background $nord9
# #
exec --no-startup-id i3-msg 'exec blueman-applet &' exec --no-startup-id i3-msg 'exec blueman-applet &'
exec --no-startup-id i3-msg 'exec pasystray &' #exec --no-startup-id i3-msg 'exec pasystray &'
exec --no-startup-id i3-msg 'exec nm-applet &' exec --no-startup-id i3-msg 'exec nm-applet &'
exec --no-startup-id i3-msg 'exec nextcloud &' exec --no-startup-id i3-msg 'exec nextcloud &'
exec --no-startup-id i3-msg 'exec remmina -i &' exec --no-startup-id i3-msg 'exec remmina -i &'
exec --no-startup-id xsettingsd & exec --no-startup-id xsettingsd &
exec --no-startup-id setxkbmap -option compose:rctrl & exec --no-startup-id setxkbmap -option compose:rctrl &
exec --no-startup-id libinput-gestures-setup start exec --no-startup-id libinput-gestures-setup start
exec --no-startup-id i3-msg 'exec /usr/bin/terminator' exec --no-startup-id i3-msg exec "$terminal"
exec --no-startup-id i3-msg 'exec /usr/bin/firefox' exec --no-startup-id i3-msg 'exec /usr/bin/firefox'
exec --no-startup-id i3-msg 'exec /usr/bin/spotify' exec --no-startup-id i3-msg 'exec /usr/bin/spotify'
exec_always --no-startup-id ~/.config/i3/polybar.sh & exec_always --no-startup-id ~/.config/i3/polybar.sh &
@ -229,13 +232,15 @@ bindsym Control+q kill
bindsym Mod1+space exec "rofi -show combi" bindsym Mod1+space exec "rofi -show combi"
# start a terminal # start a terminal
bindsym $mod+Return exec terminator bindsym $mod+Return exec "$terminal"
# Lock session # Lock session
bindsym $mod+Mod1+l exec "~/Bin/lock.sh" bindsym $mod+Mod1+l exec "~/Bin/lock.sh"
# File browser # File browser
bindsym $mod+f exec "terminator -T 'File Browser' -x ranger" bindsym $mod+f exec "$terminal -T 'File Browser' -e ranger"
# Disk usage
bindsym $mod+Shift+f exec "terminator -T 'Ncdu' -x ncdu ~/ --color=dark"
# Find file in user directory # Find file in user directory
bindsym $mod+x exec "rofi -modi 'find:~/.local/share/rofi/finder.sh' -show find" bindsym $mod+x exec "rofi -modi 'find:~/.local/share/rofi/finder.sh' -show find"
@ -251,7 +256,7 @@ bindsym XF86Display exec ~/Bin/screenlayoutrofi.sh
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume `pactl info|grep Sink|cut -d: -f 2` +5% bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume `pactl info|grep Sink|cut -d: -f 2` +5%
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume `pactl info|grep Sink|cut -d: -f 2` -5% bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume `pactl info|grep Sink|cut -d: -f 2` -5%
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute `pactl info|grep Sink|cut -d: -f 2` toggle bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute `pactl info|grep Sink|cut -d: -f 2` toggle
bindsym $mod+shift+p exec "terminator -T 'Pulse Mixer' -x pulsemixer" bindsym $mod+shift+p exec "$terminal -T 'Pulse Mixer' -e pulsemixer"
# Screen brighness # Screen brighness
@ -271,7 +276,7 @@ bindsym --release Shift+Print exec "scrot -s -e 'xclip -selection c -t image/png
bindsym --release Print exec "scrot -e 'xclip -selection c -t image/png < $f && mv $f ~/Pictures/screenshots'" bindsym --release Print exec "scrot -e 'xclip -selection c -t image/png < $f && mv $f ~/Pictures/screenshots'"
# Calendar # Calendar
bindsym $mod+c exec "terminator -T 'Calendar' -x khal interactive" bindsym $mod+c exec "$terminal -T 'Calendar' -e khal interactive"
# Note # Note
bindsym $mod+n exec "zettlr" bindsym $mod+n exec "zettlr"
@ -281,9 +286,10 @@ bindsym $mod+n exec "zettlr"
# #
for_window [class="Spotify"], move container to workspace $wksp4 for_window [class="Spotify"], move container to workspace $wksp4
for_window [class="Terminator" title="Calendar"] floating enable border pixel $modalBorder resize set $modalWidth $modalHeight, move absolute position center for_window [class="X-terminal-emulator" title="Calendar"] floating enable border pixel $modalBorder resize set $modalWidth $modalHeight, move absolute position center
for_window [class="Terminator" title="File Browser"] floating enable border pixel $modalBorder resize set $modalWidth $modalHeight, move absolute position center for_window [class="X-terminal-emulator" title="File Browser"] floating enable border pixel $modalBorder resize set $modalWidth $modalHeight, move absolute position center
for_window [class="Terminator" title="Pulse Mixer"] floating enable border pixel $modalBorder resize set $modalWidth $modalHeight, move absolute position center for_window [class="X-terminal-emulator" title="Pulse Mixer"] floating enable border pixel $modalBorder resize set $modalWidth $modalHeight, move absolute position center
for_window [class="X-terminal-emulator" title="Ncdu"] floating enable border pixel $modalBorder resize set $modalWidth $modalHeight, move absolute position center
for_window [class="JViewer"] floating enable border pixel $modalBorder for_window [class="JViewer"] floating enable border pixel $modalBorder
# ------------------------------------------------------------------------------------------------- # -------------------------------------------------------------------------------------------------