diff options
| author | Sadeep Madurange <sadeep@asciimx.com> | 2024-02-09 22:02:40 +0800 |
|---|---|---|
| committer | Sadeep Madurange <sadeep@asciimx.com> | 2024-02-09 22:02:40 +0800 |
| commit | 68d054306340d2df24c8bccc89531b8778b93dbb (patch) | |
| tree | 89e8edd937ac60cfd669a0c649381ccdccf7002b /.config/i3 | |
| parent | 1dd01be62f11dbd132a5df090d93d916ab4c15d8 (diff) | |
| download | dotfiles-68d054306340d2df24c8bccc89531b8778b93dbb.tar.gz | |
OpenBSD dotfiles.
Diffstat (limited to '.config/i3')
| -rw-r--r-- | .config/i3/config | 33 |
1 files changed, 16 insertions, 17 deletions
diff --git a/.config/i3/config b/.config/i3/config index 9845223..2217bb8 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -13,7 +13,7 @@ set $mod Mod4 # Font for window titles. Will also be used by the bar unless a different font # is used in the bar {} block below. -font pango:monospace 8 +font pango:monospace 6 # This font is widely installed, provides lots of unicode glyphs, right-to-left # text rendering and scalability on retina/hidpi displays (thanks to pango). @@ -28,26 +28,35 @@ exec --no-startup-id dex --autostart --environment i3 # xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the # screen before suspend. Use loginctl lock-session to lock your screen. -exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork +#exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork # NetworkManager is the most popular way to manage wireless networks on Linux, # and nm-applet is a desktop environment-independent system tray GUI for it. -exec --no-startup-id nm-applet +#exec --no-startup-id nm-applet # Use pactl to adjust volume in PulseAudio. -set $refresh_i3status killall -SIGUSR1 i3status +#set $refresh_i3status pkill -SIGUSR1 i3status +#bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status +#bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $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 # Use Mouse+$mod to drag floating windows to their wanted position floating_modifier $mod +# move tiling windows via drag & drop by left-clicking into the title bar, +# or left-clicking anywhere into the window while holding the floating modifier. +tiling_drag modifier titlebar + # start a terminal +# bindsym $mod+Return exec /usr/X11R6/bin/xterm bindsym $mod+Return exec i3-sensible-terminal # kill focused window bindsym $mod+Shift+q kill # start dmenu (a program launcher) -bindsym $mod+d exec --no-startup-id dmenu_run +bindsym $mod+d exec --no-startup-id /usr/local/bin/dmenu_run # A more modern dmenu replacement is rofi: # bindcode $mod+40 exec "rofi -modi drun,run -show drun" # There also is i3-dmenu-desktop which only displays applications shipping a @@ -57,7 +66,7 @@ bindsym $mod+d exec --no-startup-id dmenu_run # change focus bindsym $mod+j focus left bindsym $mod+k focus down -bindsym $mod+Control+l focus up +bindsym $mod+l focus up bindsym $mod+semicolon focus right # alternatively, you can use the cursor keys: @@ -181,18 +190,8 @@ bar { status_command i3status } -bindsym $mod+l exec --no-startup-id i3lock -i ~/photos/wallpapers/green_rain.png --nofork - -bindsym XF86AudioRaiseVolume exec --no-startup-id amixer set Master 10%+ && $refresh_i3status -bindsym XF86AudioLowerVolume exec --no-startup-id amixer set Master 10%- && $refresh_i3status -bindsym XF86AudioMute exec --no-startup-id amixer set Master toggle && $refresh_i3status -bindsym XF86AudioMicMute exec --no-startup-id amixer set Capture toggle && $refresh_i3status - for_window [class=".*"] border pixel 0 -gaps inner 10 +gaps inner 6 gaps outer 0 -# Workspace assignments -assign [class="^qutebrowser$"] 2 -assign [class="code"] 3 assign [class="firefox"] 2 |
