This commit is contained in:
nnduc
2025-05-29 23:05:30 +07:00
parent e2e2441dba
commit d1ae9e2cf4

View File

@ -32,13 +32,13 @@ exec --no-startup-id xss-lock --transfer-sleep-lock --i3lock --nofork --ignore-e
exec --no-startup-id xrand --output HDMI-0 --mode 1920x1080 --rate 120
bindsym $mod+l exec i3lock --ignore-empty-password -i $wallpaper
bindsym $mod+Shift+p exec systemctl poweroff
bindsym $mod+Shift+p exec loginctl poweroff
bindsym Print exec flameshot gui -c
# 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.
# applets
exec --no-startup-id fcitx5
exec --no-startup-id fcitx5 -d
exec --no-startup-id nm-applet
exec --no-startup-id blueman-applet
exec --no-startup-id feh --bg-fill $wallpaper
@ -46,7 +46,8 @@ exec --no-startup-id owncloud
exec --no-startup-id pasystray
exec --no-startup-id polybar
exec --no-startup-id xset m 1/1 0
exec gentoo-pipewire-launcher restart &
exec xinput --set-prop "Razer Razer DeathAdder V2 X HyperSpeed Mouse" "Device Accel Constant Deceleration" 3
exec --no-startup-id gentoo-pipewire-launcher restart &
set $refresh_i3status killall -SIGUSR1 i3status
@ -64,6 +65,7 @@ bindsym XF86AudioPrev exec playerctl previous
bindsym $mod+Shift+comma exec playerctl previous
bindsym $mod+Shift+period exec playerctl next
bindcode $mod+Shift+61 exec --no-startup-id wpctl set-mute @DEFAULT_SINK@ toggle && $refresh_i3status
bindcode $mod+61 exec playerctl play-pause
bindcode $mod+60 exec --no-startup-id wpctl set-volume @DEFAULT_SINK@ 0.02+ --limit 1 && $refresh_i3status
bindcode $mod+59 exec --no-startup-id wpctl set-volume @DEFAULT_SINK@ 0.02- --limit 0 && $refresh_i3status
@ -111,10 +113,10 @@ bindsym $mod+Up focus up
bindsym $mod+Right focus right
# move focused window
bindsym $mod+Shift+j move left
bindsym $mod+Shift+k move down
bindsym $mod+Shift+l move up
bindsym $mod+Shift+semicolon move right
#bindsym $mod+Shift+j move left
#bindsym $mod+Shift+k move down
#bindsym $mod+Shift+l move up
#bindsym $mod+Shift+semicolon move right
# alternatively, you can use the cursor keys:
bindsym $mod+Shift+Left move left
@ -190,7 +192,7 @@ bindsym $mod+Shift+c reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod+Shift+r restart
# exit i3 (logs you out of your X session)
bindsym $mod+Shift+e exec i3-msg exit
bindsym $mod+Shift+l exec i3-msg exit
#bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"
# resize window (you can also use the mouse for that)
@ -241,8 +243,10 @@ bindsym $mod+r mode "resize"
#floating
for_window [class="Signal"] floating enable
for_window [class="Gajim"] floating enable
for_window [class="Fluffychat"] floating enable
for_window [class="Dino"] floating enable
for_window [class="firefox"] move container to workspace 1
for_window [class="thunderbird"] move container to workspace 4
for_window [class="Dolphin"] move container to workspace 3
for_window [class="Thunar"] move container to workspace 3