update i3 config

This commit is contained in:
2023-07-01 10:33:05 -04:00
parent 1f26087d47
commit f7a6b4dbc4
6 changed files with 32 additions and 54 deletions
+9 -12
View File
@@ -1,14 +1,11 @@
# i3 autorun
exec --no-startup-id dex --autostart --environment i3
exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
# Autorun
#/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec_always --no-startup-id feh -z --bg-scale /usr/share/backgrounds/arcolinux-candy
exec_always --no-startup-id picom --config ~/.config/picom/picom.conf
exec --no-startup-id discord
exec --no-startup-id signal-desktop
exec --no-startup-id nm-applet
#exec --no-startup-id volumeicon
exec --no-startup-id xss-lock --transfer-sleep-lock -- betterlockscreen -l dimblur
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec --no-startup-id dunst
#add nextcloud client
#add i3-restore
exec --no-startup-id nm-applet
exec --no-startup-id nextcloud
#exec --no-startup-id discord
#exec --no-startup-id signal-desktop
exec_always --no-startup-id feh -z --bg-scale $HOME/Pictures/wallpaper
exec_always --no-startup-id picom --config ~/.config/picom/picom.conf
+2 -2
View File
@@ -3,7 +3,6 @@ include $HOME/.config/i3/keybinds.conf
include $HOME/.config/i3/theme.conf
include $HOME/.config/i3/i3bar.conf
include $HOME/.config/i3/autorun.conf
exec $HOME/.config/i3/i3-restore/i3-restore
#hide_edge_borders smart
hide_edge_borders both
@@ -48,13 +47,14 @@ 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"] floating enable
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="fm|vol|mus|Bitwarden"] floating enable, resize set 1250 700, move scratchpad, border pixel 0
# Assign workspaces (find class with xprop)
assign [class="LibreWolf|^[Ff]irefox.*|^Brave.*|firedragon"] 2
assign [class="LibreWolf|^[Ff]irefox.*|^Brave.*|firedragon|Chromium"] 2
assign [class="obsidian"] 4
assign [class="obs$"] 6
assign [class="Signal|discord"] 7
-3
View File
@@ -2,6 +2,3 @@
gaps inner 8
gaps outer 0
set $font "SpaceMono Nerd Font"
set $font_size 8
+3 -3
View File
@@ -1,5 +1,5 @@
# Colors
set $nord0 #2E3440AA
set $nord0 #2E344068
set $nord1 #3B4252
set $nord2 #434C5E
set $nord3 #4C566A
@@ -17,11 +17,11 @@ set $nord14 #A3BE8C
set $nord15 #B48EAD
bar {
font pango:SpaceMono Nerd Font 10
font pango:SpaceMono Nerd Font 9
position top
status_command i3status
tray_output none
tray_output primary
tray_padding 2
separator_symbol ":|:"
+14 -30
View File
@@ -8,9 +8,10 @@ bindsym $mod+a focus parent
#bindsym $mod+d focus child
# start dmenu (a program launcher)
bindsym $mod+d exec --no-startup-id dmenu_run
bindsym $mod+Shift+d exec "rofi -modi drun,run -show drun"
bindsym $mod+Ctrl+d exec --no-startup-id "xlunch ~/.config/xlunch/default.config"
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"
#bindsym $mod+Ctrl+d exec --no-startup-id "xlunch ~/.config/xlunch/default.config"
bindsym $mod+period exec --no-startup-id "rofi -modi emoji -show emoji"
# enter fullscreen mode for the focused container
bindsym $mod+f fullscreen toggle
@@ -27,8 +28,8 @@ bindsym $mod+q kill
bindsym $mod+r mode "resize"
#bindsym $mod+Ctrl+l exec --no-startup-id betterlockscreen -l dimblur
bindsym $mod+Ctrl+Escape exec --no-startup-id "$HOME/.config/i3/i3-restore/i3-save && archlinux-logout"
bindsym $mod+Ctrl+0 exec --no-startup-id "$HOME/.config/i3/i3-restore/i3-save && archlinux-logout"
bindsym $mod+Ctrl+Escape exec --no-startup-id "archlinux-logout"
bindsym $mod+Ctrl+0 exec --no-startup-id "archlinux-logout"
#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"
@@ -60,12 +61,12 @@ bindsym $mod+Shift+l move right
#bindsym $mod+Ctrl+v split v; exec notify-send 'Vertical Split Mode'
#toggle split mode
bindsym $mod+Shift+plus split toggle; exec notify-send "Toggled split"
bindsym $mod+Shift+plus split toggle; exec --no-startup-id "notify-send 'Toggled split'"
# change container layout (stacked, tabbed, toggle split)
bindsym $mod+s layout stacking; exec notify-send "Stacking mode"
bindsym $mod+t layout tabbed; exec notify-send "Tab mode"
bindsym $mod+e layout toggle 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'"
# toggle tiling / floating
bindsym $mod+Shift+space floating toggle
@@ -135,26 +136,9 @@ bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 10 # increase s
bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 10 # decrease screen brightness
# Launchers
bindsym Print exec flameshot gui
bindsym $mod+b exec librewolf
#bindsym $mod+m exec dolphin
bindsym Print exec --no-startup-id flameshot gui
bindsym $mod+b exec --no-startup-id chromium
#bindsym $mod+m exec thunar
# start a terminal
bindsym $mod+Return exec alacritty
# Unused
#bindsym $mod+c
#bindsym $mod+e
#bindsym $mod+g
#bindsym $mod+i
#bindsym $mod+n
#bindsym $mod+o
#bindsym $mod+p
#bindsym $mod+s
#bindsym $mod+t
#bindsym $mod+u
#bindsym $mod+v
#bindsym $mod+w
#bindsym $mod+x
#bindsym $mod+y
#bindsym $mod+z
bindsym $mod+Return exec --no-startup-id alacritty