This commit is contained in:
2020-01-28 20:39:50 +01:00
parent ab4af2c97d
commit 0ed516eefe
4 changed files with 42 additions and 12 deletions

View File

@ -1,4 +1,10 @@
# i3 config file (v4)
# _ _____ ____ __ _ _ _
# (_)___ / / ___|___ _ __ / _(_) __ _ _ _ _ __ __ _| |_(_) ___ _ __
# | | |_ \ | | / _ \| '_ \| |_| |/ _` | | | | '__/ _` | __| |/ _ \| '_ \
# _| |___) | | |__| (_) | | | | _| | (_| | |_| | | | (_| | |_| | (_) | | | |
# (_)_|____/ \____\___/|_| |_|_| |_|\__, |\__,_|_| \__,_|\__|_|\___/|_| |_|
# |___/
set $mod Mod4
set $TERMINAL urxvt
@ -94,8 +100,10 @@ bindsym $mod+Shift+0 move container to workspace $ws10
# reload the configuration file
bindsym $mod+Shift+c reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod+Shift+r restart
# exit i3 (logs you out of your X session)
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'Exit i3 and end your X session?' -b 'Yes' 'i3-msg exit'"
@ -131,7 +139,13 @@ mode "resize" {
bindsym $mod+r mode "resize"
# custom shit
# _ _____ ____ _ ____ _ _ _
# (_)___ / / ___| _ ___| |_ ___ _ __ ___ / ___|| |__ (_) |_
# | | |_ \ | | | | | / __| __/ _ \| '_ ` _ \ \___ \| '_ \| | __|
# _| |___) | | |__| |_| \__ \ || (_) | | | | | | ___) | | | | | |_
#(_)_|____/ \____\__,_|___/\__\___/|_| |_| |_| |____/|_| |_|_|\__|
#
# startup
exec_always --no-startup-id $HOME/.config/polybar/launch.sh
@ -140,12 +154,14 @@ exec --no-startup-id i3-msg 'exec $TERMINAL; workspace 2; exec firefox;'
exec --no-startup-id feh --bg-scale ~/Wallpapers/seneca.jpg
exec --no-startup-id xrandr --output HDMI1 --right-of eDP1
exec --no-startup-id xset dpms 500
exec --no-startup-id nm-applet
exec --no-startup-id clipit
exec --no-startup-id xautolock -time 10 -locker "betterlockscreen -l dim"
exec --no-startup-id ~/bin/dunstwal
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec telegram-desktop
exec mattermost-desktop
exec --no-startup-id sleep 4; i3-msg '[class="Mattermost"] move scratchpad; [class="Telegram"] move scratchpad'
@ -158,15 +174,13 @@ gaps inner 10
hide_edge_borders both
for_window [class="^.*"] title_format "%title [%class]"
for_window [class="^.*"] border pixel 0
for_window [class="Telegram"] gaps outer 0
for_window [class="Mattermost"] gaps outer 0
for_window [class="Telegram"] border pixel 1
for_window [class="Mattermost"] border pixel 1
for_window [window_role="floating"] floating enable
for_window [class="QSyncthingTray"] floating enable
for_window [class="Thunderbird" window_type="normal"] floating enable, resize set 1024 768
for_window [class="Thunderbird" window_type="normal"] floating enable, resize set 1600 1050, border pixel 2
for_window [class="Nautilus"] floating enable
for_window [class="Gnome-calculator"] floating enable
for_window [class="Blueberry.py"] floating enable
for_window [class="Pavucontrol"] floating enable
# keybinds
bindsym Mod1+Tab workspace back_and_forth
@ -179,12 +193,10 @@ bindsym $mod+minus [class="Telegram"] scratchpad show
bindsym $mod+p [class="Mattermost"] scratchpad show
bindsym $mod+Delete exec rofi -modi system:$HOME/.config/rofi/scripts/powermenu.sh -show system -theme themes/system-menu
bindsym $mod+d exec rofi -modi system:$HOME/.config/rofi/scripts/appsmenu.sh
bindsym $mod+shift+Delete exec betterlockscreen -l
# audio binds
bindsym XF86AudioMicMute exec --no-startup-id pulseaudio-ctl mute-input
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume alsa_output.pci-0000_00_1f.3.analog-stereo +10% && pactl set-sink-mute 1 0
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume alsa_output.pci-0000_00_1f.3.analog-stereo -10% && pactl set-sink-mute 1 0
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute alsa_output.pci-0000_00_1f.3.analog-stereo toggle

View File

@ -117,11 +117,11 @@ font-0 = RobotoMono Nerd Font :antialias=true:pixelsize=10;1
font-1 = RobotoMono Nerd Font:antialias=true:size=4;2
font-2 = RobotoMono Nerd Font:antialias=false:size=14;2
font-3 - RobotoMono Nerd Font:antialias=true:size=18;0
; siji
modules-left = s4 battery s3 s4 wlan s3 s4 mpd s3
modules-center =
; pulseaudio
modules-right = s4 spotify s1 pulseaudio
modules-right = s4 spotify s1 pulseaudio s3
tray-position = right
tray-padding = 0