add config for work laptop (Arch)
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
#exec xrandr --output eDP-1 --primary --rate 100 --mode ####x####
|
||||
|
||||
gaps inner 8
|
||||
gaps outer 0
|
||||
|
||||
exec_always --no-startup-id feh -z --bg-scale /usr/share/backgrounds/garuda-backgrounds/
|
||||
@@ -0,0 +1,65 @@
|
||||
include $HOME/.config/i3/`hostname`.conf
|
||||
include $HOME/.config/i3/keybinds.conf
|
||||
include $HOME/.config/i3/theme.conf
|
||||
include $HOME/.config/i3/i3bar.conf
|
||||
include $HOME/.config/i3/autorun.conf
|
||||
|
||||
set $myBrowser "firedragon"
|
||||
set $myTerm "alacritty"
|
||||
set $fileManager "thunar"
|
||||
set $mod Mod4
|
||||
|
||||
#hide_edge_borders smart
|
||||
hide_edge_borders both
|
||||
default_border none
|
||||
smart_borders on
|
||||
smart_gaps on
|
||||
workspace_auto_back_and_forth yes
|
||||
focus_follows_mouse yes
|
||||
default_border pixel 2
|
||||
default_floating_border normal 0
|
||||
font pango:monospace 8
|
||||
focus_on_window_activation smart
|
||||
floating_modifier $mod
|
||||
|
||||
# workspace names
|
||||
set $ws1 "1:"
|
||||
set $ws2 "2:"
|
||||
set $ws3 "3"
|
||||
set $ws4 "4"
|
||||
set $ws5 "5:"
|
||||
set $ws6 "6"
|
||||
set $ws7 "7:"
|
||||
set $ws8 "8"
|
||||
set $ws9 "9:"
|
||||
set $ws10 "10:"
|
||||
|
||||
# Scratchpads
|
||||
bindsym $mod+m [class="fm"] scratchpad show; move position center
|
||||
bindsym $mod+v [class="vol"] scratchpad show; move position center
|
||||
bindsym $mod+Shift+p [class="Bitwarden"] scratchpad show; move position center
|
||||
bindsym $mod+Shift+s [class="mus"] scratchpad show; move position center
|
||||
exec_always --no-startup-id pgrep -f '^alacritty --class fm,fm' || alacritty --class fm,fm -e ranger
|
||||
exec_always --no-startup-id pgrep -f '^alacritty --class vol,vol' || alacritty --class vol,vol -e pulsemixer
|
||||
exec_always --no-startup-id pgrep -f '^alacritty --class mus,mus' || alacritty --class mus,mus -e ncspot
|
||||
exec_always --no-startup-id bitwarden-desktop
|
||||
|
||||
# Specific windows
|
||||
no_focus [window_role="pop-up"]
|
||||
for_window [window_role="^Preferences$"] floating enable, border pixel 1
|
||||
for_window [class="^.*"] border pixel 2
|
||||
for_window [class="Spotify|cutefish-calculator|kcalc|Galculator|systemsettings|Streamdeck UI|Cheese|deepin-camera|steam|Cinnamon-settings.py|Bitwarden"] floating enable, border pixel 1
|
||||
for_window [class="Nextcloud|Blueman-manager"] floating enable, border pixel 0
|
||||
for_window [title="Friends List"] floating enable
|
||||
for_window [class="GParted"] floating enable, resize set 1550 900, border pixel 0, move position center
|
||||
for_window [class="Streamdeck UI"] floating enable, resize set 500 508
|
||||
for_window [class="org.remmina.Remmina|vlc|Thunar"] floating enable, border pixel 3
|
||||
for_window [class="fm|vol|mus|Bitwarden"] floating enable, resize set 1250 700, move scratchpad, border pixel 5
|
||||
|
||||
# Assign workspaces
|
||||
assign [class="LibreWolf|^[Ff]irefox.*|^Brave.*|firedragon|Chromium"] 2
|
||||
assign [class="obsidian"] 4
|
||||
assign [class="obs$"] 6
|
||||
assign [class="Signal|discord"] 7
|
||||
assign [class="Spotify"] 9
|
||||
assign [class="steam"] 10
|
||||
@@ -0,0 +1,48 @@
|
||||
# Colors
|
||||
set $nord0 #2E344068
|
||||
set $nord1 #3B4252
|
||||
set $nord2 #434C5E
|
||||
set $nord3 #4C566A
|
||||
set $nord4 #D8DEE9
|
||||
set $nord5 #E5E9F0
|
||||
set $nord6 #ECEFF4
|
||||
set $nord7 #8FBCBB
|
||||
set $nord8 #88C0D0
|
||||
set $nord9 #81A1C1
|
||||
set $nord10 #5E81AC
|
||||
set $nord11 #BF616A
|
||||
set $nord12 #D08770
|
||||
set $nord13 #EBCB8B
|
||||
set $nord14 #A3BE8C
|
||||
set $nord15 #B48EAD
|
||||
|
||||
bar {
|
||||
font pango:SpaceMono Nerd Font 9
|
||||
position top
|
||||
status_command i3status
|
||||
#status_command SCRIPT_DIR=~/.config/i3blocks/scripts i3blocks
|
||||
|
||||
tray_output primary
|
||||
tray_padding 2
|
||||
|
||||
separator_symbol ":|:"
|
||||
|
||||
i3bar_command i3bar --transparency
|
||||
|
||||
strip_workspace_numbers no
|
||||
strip_workspace_name yes
|
||||
|
||||
binding_mode_indicator yes
|
||||
|
||||
colors {
|
||||
background $nord0
|
||||
statusline $nord10
|
||||
separator $nord3
|
||||
|
||||
# colorclass border backgr. text
|
||||
focused_workspace $nord3 $nord8 $nord4
|
||||
active_workspace $nord3 $nord8 $nord4
|
||||
inactive_workspace $nord8 $nord10 $nord4
|
||||
urgent_workspace $nord3 $nord11 $nord4
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,127 @@
|
||||
# common operations
|
||||
bindsym $mod+q kill
|
||||
bindsym $mod+Shift+r restart
|
||||
bindsym Print exec --no-startup-id flameshot gui
|
||||
bindsym $mod+c exec --no-startup-id ~/.config/rofi/scripts/configs.sh
|
||||
bindsym $mod+d exec --no-startup-id "dmenu_run -fn 'SpaceMono Nerd Font-11' -nf '#81a1c1' -nb '#434c5e' -sb '#5e81ac' -sf '#88c0d0'"
|
||||
bindsym $mod+Shift+d exec --no-startup-id "rofi -modi drun,run -show drun -show-icons"
|
||||
#bindsym $mod+Ctrl+d exec --no-startup-id "xlunch ~/.config/xlunch/default.config"
|
||||
bindsym $mod+period exec --no-startup-id "rofi -fn -modi emoji -show emoji"
|
||||
#bindsym $mod+Ctrl+l exec --no-startup-id betterlockscreen -l dimblur
|
||||
bindsym $mod+Ctrl+Escape exec --no-startup-id "archlinux-logout"
|
||||
bindsym $mod+Ctrl+0 exec --no-startup-id "archlinux-logout"
|
||||
|
||||
# application shortcuts
|
||||
bindsym $mod+Return exec --no-startup-id $myTerm
|
||||
bindsym $mod+Print exec --no-startup-id screenkey
|
||||
bindsym $mod+b exec --no-startup-id $myBrowser
|
||||
#bindsym $mod+m exec $fileManager
|
||||
|
||||
# Multimedia keys
|
||||
set $refresh_i3status killall -SIGUSR1 i3status
|
||||
bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
|
||||
bindsym XF86AudioNext exec --no-startup-id playerctl next
|
||||
bindsym XF86AudioPrev exec --no-startup-id playerctl previous
|
||||
bindsym XF86AudioStop exec --no-startup-id playerctl stop
|
||||
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5% && $refresh_i3status
|
||||
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5% && $refresh_i3status
|
||||
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
|
||||
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
|
||||
bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 10
|
||||
bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 10
|
||||
|
||||
# container focus
|
||||
bindsym $mod+h focus left
|
||||
bindsym $mod+j focus down
|
||||
bindsym $mod+k focus up
|
||||
bindsym $mod+l focus right
|
||||
bindsym $mod+space focus mode_toggle
|
||||
bindsym $mod+a focus parent
|
||||
#bindsym $mod+d focus child
|
||||
|
||||
# container resizing
|
||||
bindsym $mod+Shift+Down resize shrink height 8 px or 8 ppt
|
||||
bindsym $mod+Shift+Up resize grow height 8 px or 8 ppt
|
||||
bindsym $mod+Shift+Left resize shrink width 8 px or 8 ppt
|
||||
bindsym $mod+Shift+Right resize grow width 8 px or 8 ppt
|
||||
bindsym $mod+r mode "resize"
|
||||
|
||||
# container layout
|
||||
bindsym $mod+f fullscreen toggle
|
||||
bindsym $mod+Shift+h move left
|
||||
bindsym $mod+Shift+j move down
|
||||
bindsym $mod+Shift+k move up
|
||||
bindsym $mod+Shift+l move right
|
||||
#bindsym $mod+o sticky toggle
|
||||
bindsym $mod+Shift+space floating toggle
|
||||
bindsym $mod+Shift+plus split toggle; exec --no-startup-id "notify-send 'Toggled split'"
|
||||
bindsym $mod+s layout stacking; exec --no-startup-id "notify-send 'Stacking mode'"
|
||||
bindsym $mod+t layout tabbed; exec --no-startup-id "notify-send 'Tab mode'"
|
||||
bindsym $mod+e layout toggle split; exec --no-startup-id "notify-send 'Split Toggle'"
|
||||
#bindsym $mod+Ctrl+h split h; exec notify-send 'Horizontal Split Mode'
|
||||
#bindsym $mod+Ctrl+v split v; exec notify-send 'Vertical Split Mode'
|
||||
|
||||
# scratchpads
|
||||
# move current window to a scratchpad
|
||||
bindsym $mod+Shift+minus move scratchpad
|
||||
# show scratchpad
|
||||
bindsym $mod+minus scratchpad show
|
||||
|
||||
# workspaces
|
||||
bindsym $mod+w exec --no-startup-id rofi -show window -show-icons
|
||||
# switch to workspace
|
||||
bindsym $mod+1 workspace number $ws1
|
||||
bindsym $mod+2 workspace number $ws2
|
||||
bindsym $mod+3 workspace number $ws3
|
||||
bindsym $mod+4 workspace number $ws4
|
||||
bindsym $mod+5 workspace number $ws5
|
||||
bindsym $mod+6 workspace number $ws6
|
||||
bindsym $mod+7 workspace number $ws7
|
||||
bindsym $mod+8 workspace number $ws8
|
||||
bindsym $mod+9 workspace number $ws9
|
||||
bindsym $mod+0 workspace number $ws10
|
||||
# move focused container to workspace
|
||||
bindsym $mod+Shift+1 move container to workspace number $ws1
|
||||
bindsym $mod+Shift+2 move container to workspace number $ws2
|
||||
bindsym $mod+Shift+3 move container to workspace number $ws3
|
||||
bindsym $mod+Shift+4 move container to workspace number $ws4
|
||||
bindsym $mod+Shift+5 move container to workspace number $ws5
|
||||
bindsym $mod+Shift+6 move container to workspace number $ws6
|
||||
bindsym $mod+Shift+7 move container to workspace number $ws7
|
||||
bindsym $mod+Shift+8 move container to workspace number $ws8
|
||||
bindsym $mod+Shift+9 move container to workspace number $ws9
|
||||
bindsym $mod+Shift+0 move container to workspace number $ws10
|
||||
# navigate next/prev workspace
|
||||
bindsym $mod+Tab workspace next
|
||||
bindsym $mod+Shift+Tab workspace prev
|
||||
bindsym $mod+Ctrl+l workspace next
|
||||
bindsym $mod+Ctrl+h workspace prev
|
||||
bindsym $mod+Ctrl+Right workspace next
|
||||
bindsym $mod+Ctrl+Left workspace prev
|
||||
|
||||
mode "resize" {
|
||||
bindsym h resize shrink width 10 px or 10 ppt
|
||||
bindsym j resize grow height 10 px or 10 ppt
|
||||
bindsym k resize shrink height 10 px or 10 ppt
|
||||
bindsym l resize grow width 10 px or 10 ppt
|
||||
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
bindsym $mod+r mode "default"
|
||||
}
|
||||
|
||||
#set $mode_system (l)ock (e)xit switch_(u)ser (s)uspend (h)ibernate (r)eboot (shift+s)hutdown
|
||||
#bindsym $mod+Ctrl+Escape mode "$mode_system"
|
||||
#mode "$mode_system" {
|
||||
# bindsym l exec --no-startup-id betterlockscreen -l dimblur
|
||||
# bindsym e exec --no-startup-id i3exit logout, mode "default"
|
||||
# bindsym u exec --no-startup-id i3exit switch_user, mode "default"
|
||||
# bindsym s exec --no-startup-id i3-msg exit && exit
|
||||
# bindsym s exec betterlockscreen -s -l dimblur
|
||||
# bindsym h exec --no-startup-id i3exit hibernate, mode "default"
|
||||
# bindsym r exec --no-startup-id i3exit reboot, mode "default"
|
||||
# bindsym Shift+s exec --no-startup-id i3exit shutdown, mode "default"
|
||||
|
||||
# bindsym Escape mode "default"
|
||||
# bindsym Return mode "default"
|
||||
#}
|
||||
Reference in New Issue
Block a user