dotfiles

My dotfiles, nothing really interesting to see ...
git clone https://git.onna.be/dotfiles.git
Log | Files | Refs | README

commit 0abb52f489315364a01de20c516ebf540b90b249
parent bf156137c3f028e9b2fa4bbfbddfe2d07b137755
Author: Paco Esteban <paco@onna.be>
Date:   Sat, 15 Sep 2018 13:29:06 +0200

i3 on my OpenBSD box is a little bit different

Diffstat:
i3/.config/i3/config | 52+++++++++++++++++++++++-----------------------------
1 file changed, 23 insertions(+), 29 deletions(-)

diff --git a/i3/.config/i3/config b/i3/.config/i3/config @@ -8,32 +8,28 @@ workspace_auto_back_and_forth yes # terminal setting set $term --no-startup-id urxvtc # system restart/shutdown -set $shutdown sudo shutdown -h now -set $reboot sudo reboot +set $shutdown doas shutdown -h -p now +set $reboot doas reboot # -##For spotify -set $music spotify -set $pause dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause -set $trupause dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Pause -set $play dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Play -set $next dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next -set $prev dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous -#For PULSEAUDIO/PAMIXER -set $volup --no-startup-id pamixer --allow-boost -i 5 -set $voldown --no-startup-id pamixer --allow-boost -d 5 -set $mute --no-startup-id pamixer --allow-boost -t -set $truemute --no-startup-id pamixer -m +##For music (cmus) +set $music cmus +set $pause cmus-remote --pause +set $play cmus-remote --play +set $next cmus-remote --next +set $prev cmus-remote --prev +#For volume (mixerctl) +set $volup --no-startup-id /home/paco/bin/volume.sh up +set $voldown --no-startup-id /home/paco/bin/volume.sh down +set $mute --no-startup-id /home/paco/bin/volume.sh mute # my font of choice font pango:Ubuntu Mono derivative Powerline 12 ## Startup applications #Composite manager: -exec --no-startup-id compton --xrender-sync-fence +exec --no-startup-id compton # backgrounds -exec_always --no-startup-id feh --bg-scale ~/Pictures/1616583.jpg -# polybar -exec_always --no-startup-id ~/.config/polybar/launch.sh +exec_always --no-startup-id feh --bg-fill ~/Pictures/noruega/GOPR1653.JPG # clipboard manager exec_always --no-startup-id parcellite # screensaver @@ -48,12 +44,8 @@ exec_always --no-startup-id unclutter --timeout 10 --ignore-scrolling --fork assign [class="^Google-chrome$"] 2 assign [class="^qutebrowser$"] 2 assign [class="^Firefox$"] 2 -assign [class="^Slack$"] 3 -assign [class="^Signal$"] 3 assign [class="^Gajim$"] 3 assign [class="^mpv$"] 9 -assign [class="^Spotify$"] 10 -for_window [class="^Spotify$"] move to workspace 10 assign [instance="mutt"] 5 assign [instance="weechat"] 3 assign [instance="nvim"] 4 @@ -90,8 +82,6 @@ for_window [class="Gajim"] floating enable # comms workspace decoration for_window [instance="mutt"] border pixel 2 for_window [instance="weechat"] border pixel 3 -for_window [class="^Slack$"] border pixel 3 -for_window [class="^Signal$"] border pixel 3 # Dropdown/Scratchpad Windows (taken from https://github.com/LukeSmithxyz/voidrice) # First I have a tmux window used for background scripts. @@ -102,11 +92,6 @@ for_window [instance="dropdown"] move scratchpad for_window [instance="dropdown"] border pixel 5 exec $term -name dropdown -# fixing steam on tilling wm -# https://github.com/ValveSoftware/steam-for-linux/issues/1040 -for_window [class="^Steam$"] floating enable -for_window [title="^Steam Keyboard$"] floating enable - ## Key bindings bindsym $mod+u [instance="dropdown"] scratchpad show; [instance="dropdown"] move position center # ranger file manager @@ -228,3 +213,12 @@ mode "resize" { } bindsym $mod+Shift+r mode "resize" + +# Start i3bar to display a workspace bar (plus the system information i3status +# finds out, if available) +bar { + position top + font pango:Ubuntu Mono derivative Powerline 12 + separator_symbol " | " + status_command i3status +}