diff options
| author | BardofSprites <[email protected]> | 2024-11-03 14:28:55 -0500 |
|---|---|---|
| committer | BardofSprites <[email protected]> | 2024-11-03 14:28:55 -0500 |
| commit | c69820f2d35eb93041cf051ce5c2270abc5e278b (patch) | |
| tree | 2f3d44d49c32be96cb0f36da6854312ea7ef6a3d /i3/.config | |
| parent | d3d7d0f23a12fd50c80c77076a55c962a0ef2ff1 (diff) | |
update i3 configuration
Diffstat (limited to 'i3/.config')
| -rw-r--r-- | i3/.config/i3/config | 39 | ||||
| -rw-r--r-- | i3/.config/i3/keybinds | 30 | ||||
| -rw-r--r-- | i3/.config/i3/winsettings | 9 | ||||
| -rw-r--r-- | i3/.config/i3blocks/config | 31 |
4 files changed, 70 insertions, 39 deletions
diff --git a/i3/.config/i3/config b/i3/.config/i3/config index c3e42c7..f4cdae9 100644 --- a/i3/.config/i3/config +++ b/i3/.config/i3/config @@ -1,8 +1,8 @@ set $mod Mod4 -font pango: Iosevka Comfy 12 +font pango: Iosevka Comfy 14 # Including other files -include ~/.config/i3/colors +# include ~/.config/i3/colors include ~/.config/i3/autostart include ~/.config/i3/keybinds include ~/.config/i3/winsettings @@ -13,9 +13,6 @@ exec --no-startup-id dex --autostart --environment i3 # Use Mouse+$mod to drag floating windows to their wanted position floating_modifier $mod -bindsym $mod+[any key] exec i3-dmenu-desktop -for_window [class="^Pavucontrol$"] floating enable - # resize window (you can also use the mouse for that) mode "resize" { @@ -50,20 +47,20 @@ for_window [class="^.*"] border pixel 5 no_focus [window_role="pop-up"] -# bar { -# position top -# status_command i3status -# # status_command SCRIPT_DIR=~/.local/bin/i3blocks i3blocks -# # colors { -# # # switch these when switching between dark and light mode -# # background $bg -# # statusline $fg -# # # workspaces section -# # # border background text -# # focused_workspace $space $space $bg -# # inactive_workspace $bg $bg $fg -# # active_workspace $bg $bg $fg -# # urgent_workspace $red $red $bg +bar { + position top + # status_command i3status + status_command SCRIPT_DIR=~/.local/bin/scripts/status/ i3blocks + # colors { + # # switch these when switching between dark and light mode + # background $bg + # statusline $fg + # # workspaces section + # # border background text + # focused_workspace $space $space $bg + # inactive_workspace $bg $bg $fg + # active_workspace $bg $bg $fg + # urgent_workspace $red $red $bg -# # } -# } + # } +} diff --git a/i3/.config/i3/keybinds b/i3/.config/i3/keybinds index b1d162e..3df3ba5 100644 --- a/i3/.config/i3/keybinds +++ b/i3/.config/i3/keybinds @@ -6,18 +6,23 @@ set $term2 urxvtc bindsym $mod+Return exec $term bindsym $mod+Shift+Return exec $term2 +# browser +bindsym $mod+w exec librewolf-bin +bindsym $mod+Shift+w exec firefox-bin + # Scratchpad bindsym $mod+minus move scratchpad bindsym $mod+plus scratchpad show # emacs -bindsym $mod+x exec ~/.local/bin/scripts/emacs/emacs-daemon.sh start -bindsym $mod+Shift+x exec ~/.local/bin/scripts/emacs/emacs-daemon.sh kill -bindsym $mod+Ctrl+a exec emacsclient --eval "(emacs-everywhere)" -bindsym $mod+Shift+a exec emacsclient -c -e "(emms)" +bindsym $mod+e exec emacs +bindsym $mod+m exec emacsclient -c -e "(emms)" +bindsym $mod+n exec emacsclient -c +bindsym $mod+Shift+d exec dired_selector +bindsym $mod+Shift+n exec emacs-launcher # theme switching -bindsym $mod+Shift+t exec ~/.local/bin/scripts/theme-switch.sh +# bindsym $mod+Shift+t exec ~/.local/bin/scripts/theme-switch.sh # adjust volume in PulseAudio set $refresh_i3status killall -SIGUSR1 i3status @@ -32,16 +37,9 @@ bindsym XF86AudioPause exec playerctl pause bindsym XF86AudioNext exec playerctl next bindsym XF86AudioPrev exec playerctl previous -# bindsym XF86AudioRaiseVolume exec amixer -q -D pulse sset Master 5%+ && pkill -RTMIN+1 i3blocks -# bindsym XF86AudioLowerVolume exec amixer -q -D pulse sset Master 5%- && pkill -RTMIN+1 i3blocks -# bindsym XF86AudioMute exec amixer -q -D pulse sset Master toggle && pkill -RTMIN+1 i3blocks - # Brightness -# bindsym XF86MonBrightnessUp exec xbacklight -inc 10 -# bindsym XF86MonBrightnessDown exec xbacklight -dec 10 - -# power menu -# bindsym $mod+shift+p exec --no-startup-id ~/.config/rofi/powermenu/type-1/powermenu.sh +bindsym XF86MonBrightnessUp exec xbacklight -inc 10 +bindsym XF86MonBrightnessDown exec xbacklight -dec 10 # kill focused window bindsym $mod+q kill @@ -50,12 +48,12 @@ bindsym $mod+q kill bindsym Print exec $HOME/.local/bin/scripts/maimpick # audio controls -bindsym $mod+p exec pavucontrol +bindsym $mod+p exec alsamixer # start dmenu # bindsym $mod+d exec --no-startup-id dmenu_run # Customised dmenu with colours -bindsym $mod+d exec "dmenu_run -p 'dmenu >'" +bindsym $mod+d exec "dmenu_run -p 'Run: '" # Reloads i3 configuration bindsym $mod+Shift+c reload diff --git a/i3/.config/i3/winsettings b/i3/.config/i3/winsettings index 9c7e882..85d2aa2 100644 --- a/i3/.config/i3/winsettings +++ b/i3/.config/i3/winsettings @@ -2,6 +2,8 @@ # borders for_window [class="^.*"] border pixel 3 +# specific window settings +for_window [class="floatterm"] floating enable default_border pixel 3 default_floating_border pixel 3 # hide_edge_borders smart @@ -29,14 +31,17 @@ bindsym $mod+f fullscreen toggle # change container layout (stacked, tabbed, toggle split) bindsym $mod+s layout stacking -bindsym $mod+w layout tabbed +bindsym $mod+Shift+t layout tabbed bindsym $mod+t layout toggle split +# sticky windows +bindsym $mod+Shift+S sticky toggle + # toggle tiling / floating bindsym $mod+Shift+space floating toggle # focus the parent container -bindsym $mod+a focus parent +bindsym $mod+a focus mode_toggle # Name the workspaces set $workspace1 "1" diff --git a/i3/.config/i3blocks/config b/i3/.config/i3blocks/config new file mode 100644 index 0000000..9ed3327 --- /dev/null +++ b/i3/.config/i3blocks/config @@ -0,0 +1,31 @@ +[memory] +command=$SCRIPT_DIR/memory +interval=10 + +[internet] +command=$SCRIPT_DIR/internet +interval=10 + +[weather] +command=$SCRIPT_DIR/weather +interval=18000 +signal=5 + +[volume-pulseaudio] +command=$SCRIPT_DIR/volume-pulseaudio -C "#ffffff" -c "#ff0000" +interval=1 +signal=1 +AUDIO_HIGH_SYMBOL=🔊 +AUDIO_MED_THRESH=50 +AUDIO_MED_SYMBOL=🔉 +AUDIO_LOW_THRESH=0 +AUDIO_LOW_SYMBOL=🔈 + +[music] +command=$SCRIPT_DIR/music +interval=5 + +[time] +command=$SCRIPT_DIR/time-clock +interval=1 +markup=pango
\ No newline at end of file |
