Add dotfiles from newest setup
Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
This commit is contained in:
parent
6555cc80cd
commit
3711ac3ea6
9 changed files with 120 additions and 55 deletions
|
@ -11,7 +11,7 @@ new_window none
|
|||
|
||||
# Font for window titles. Will also be used by the bar unless a different font
|
||||
# is used in the bar {} block below.
|
||||
font pango:Roboto, FontAwesome 15px
|
||||
font pango:Roboto, Font Awesome 5 Free 15px
|
||||
|
||||
# Use Mouse+$mod to drag floating windows to their wanted position
|
||||
floating_modifier $mod
|
||||
|
@ -65,14 +65,14 @@ bindsym $mod+a focus parent
|
|||
|
||||
# Set monitor names
|
||||
set $output1 VGA-1
|
||||
set $output2 HDMI-1
|
||||
set $output2 eDP-1
|
||||
|
||||
# Set workspace titles
|
||||
set $workspace1 "1: "
|
||||
set $workspace2 "2: "
|
||||
set $workspace3 "3: "
|
||||
set $workspace4 "4: "
|
||||
set $workspace5 "5: Messaging"
|
||||
set $workspace5 "5: "
|
||||
set $workspace6 "6: "
|
||||
set $workspace7 "7: "
|
||||
set $workspace8 "8: "
|
||||
|
@ -145,16 +145,16 @@ bindsym $mod+Shift+r restart
|
|||
|
||||
# resize window (you can also use the mouse for that)
|
||||
mode "resize" {
|
||||
# These bindings trigger as soon as you enter the resize mode
|
||||
# These bindings trigger as soon as you enter the resize mode
|
||||
|
||||
bindsym Left resize shrink width 10 px or 10 ppt
|
||||
bindsym Down resize grow height 10 px or 10 ppt
|
||||
bindsym Up resize shrink height 10 px or 10 ppt
|
||||
bindsym Right resize grow width 10 px or 10 ppt
|
||||
bindsym Left resize shrink width 10 px or 10 ppt
|
||||
bindsym Down resize grow height 10 px or 10 ppt
|
||||
bindsym Up resize shrink height 10 px or 10 ppt
|
||||
bindsym Right resize grow width 10 px or 10 ppt
|
||||
|
||||
# back to normal: Enter or Escape
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
# back to normal: Enter or Escape
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
|
||||
bindsym $mod+x mode "resize"
|
||||
|
@ -175,19 +175,24 @@ bindsym $mod+x mode "resize"
|
|||
|
||||
exec_always --no-startup-id $HOME/.config/polybar/launch.sh
|
||||
|
||||
# Custom key bindings
|
||||
###
|
||||
# Lock the screen
|
||||
bindsym $mod+l exec ~/bin/screenlock.sh
|
||||
bindsym XF86Sleep exec --no-startup-id ~/bin/screenlock.sh
|
||||
#######################################
|
||||
# Custom keybinding
|
||||
#######################################
|
||||
# Screen lock controls
|
||||
bindsym $mod+l exec --no-startup-id $HOME/bin/screenlock.sh
|
||||
bindsym XF86Sleep exec --no-startup-id $HOME/bin/screenlock.sh
|
||||
|
||||
# Volume changing
|
||||
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle
|
||||
bindsym $mod+m exec --no-startup-id pactl set-sink-mute 0 toggle
|
||||
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5%
|
||||
bindsym $mod+KP_Add exec --no-startup-id pactl set-sink-volume 0 +5%
|
||||
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5%
|
||||
bindsym $mod+KP_Subtract exec --no-startup-id pactl set-sink-volume 0 -5%
|
||||
# Volume controls
|
||||
bindsym XF86AudioMute exec --no-startup-id pamixer -t
|
||||
bindsym $mod+m exec --no-startup-id pamixer -t
|
||||
bindsym XF86AudioRaiseVolume exec --no-startup-id $HOME/bin/increase_volume.sh
|
||||
bindsym $mod+KP_Add exec --no-startup-id $HOME/bin/increase_volume.sh
|
||||
bindsym XF86AudioLowerVolume exec --no-startup-id pamixer -d 5 --allow-boost
|
||||
bindsym $mod+KP_Subtract exec --no-startup-id pamixer -d 5 --allow-boost
|
||||
|
||||
# Brightness controls
|
||||
bindsym XF86MonBrightnessUp exec --no-startup-id light -A 5
|
||||
bindsym XF86MonBrightnessDown exec --no-startup-id light -U 5
|
||||
|
||||
# Music controls
|
||||
bindsym XF86AudioPlay exec --no-startup-id cmus-remote -u
|
||||
|
@ -201,8 +206,11 @@ bindsym $mod+Control+Left exec --no-startup-id cmus-remote -r
|
|||
bindsym $mod+$alt+Left move workspace to output left
|
||||
bindsym $mod+$alt+Right move workspace to output right
|
||||
|
||||
# Run specific applications on start
|
||||
###
|
||||
#######################################
|
||||
# Startup applications
|
||||
#######################################
|
||||
#
|
||||
exec wicd-client --tray
|
||||
|
||||
# Merge .Xresources on boot
|
||||
exec xrdb -merge $HOME/.Xresources
|
||||
|
@ -211,23 +219,27 @@ exec xrdb -merge $HOME/.Xresources
|
|||
exec --no-startup-id compton
|
||||
|
||||
# Background-Image
|
||||
exec_always --no-startup-id feh --bg-fill /home/severin/GoogleDrive/02_Media/01_Images/01_Wallpaper/Adapta_Tealized.jpg
|
||||
exec_always --no-startup-id feh --bg-fill $HOME/GoogleDrive/02_Media/Images/01_Wallpaper/Desktop/Fearsome_Awakening.png
|
||||
|
||||
# Monitor settings
|
||||
exec_always --no-startup-id xrandr --output $output2 --mode 1280x1024 --pos 1280x0 --rotate normal --output $output1 --mode 1280x1024 --pos 0x0 --rotate normal
|
||||
exec_always --no-startup-id xrandr --output $output2 --mode 1920x1080 --pos 1920x0 --rotate normal --output $output1 --mode 1280x1024 --pos 0x0 --rotate normal
|
||||
|
||||
# Other applications
|
||||
exec google-chrome-beta
|
||||
exec termite
|
||||
exec discord
|
||||
exec nemo
|
||||
exec keepassxc
|
||||
|
||||
#exec termite -e cmus --name cmus
|
||||
|
||||
# Assign programs to specific workspaces
|
||||
###
|
||||
assign [class="Google-chrome-beta"] $workspace1
|
||||
assign [instance="termite"] $workspace2
|
||||
assign [instance="cmus"] $workspace10
|
||||
assign [class="Hyper"] $workspace2
|
||||
assign [class="Atom"] $workspace3
|
||||
assign [class="Code"] $workspace3
|
||||
assign [class="Nemo"] $workspace4
|
||||
assign [class="discord"] $workspace5
|
||||
assign [class="Steam"] $workspace6
|
||||
assign [class="keepassxc"] $workspace8
|
||||
assign [class="Vlc"] $workspace9
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue