This commit is contained in:
Johannes Loher 2024-09-09 16:29:51 +02:00
parent a7faece3ca
commit 5248663109
Signed by: saluu
GPG key ID: BB8E7A0EB4C59227
9 changed files with 59 additions and 52 deletions

View file

@ -0,0 +1,5 @@
--ozone-platform-hint=auto
--ozone-platform=wayland
--enable-features=VaapiVideoDecodeLinuxGL
--enable-features=WebRTCPipeWireCapturer
--enable-features=UseOzonePlatform

View file

@ -0,0 +1 @@
electron-flags.conf

View file

@ -1,4 +0,0 @@
--ozone-platform-hint=auto
--ozone-platform=wayland
--enable-features=VaapiVideoDecodeLinuxGL
--enable-features=WebRTCPipeWireCapturer

View file

@ -0,0 +1 @@
electron-flags.conf

View file

@ -1,4 +0,0 @@
--ozone-platform-hint=auto
--ozone-platform=wayland
--enable-features=VaapiVideoDecodeLinuxGL
--enable-features=WebRTCPipeWireCapturer

View file

@ -0,0 +1 @@
electron-flags.conf

View file

@ -0,0 +1 @@
electron-flags.conf

View file

@ -0,0 +1 @@
electron-flags.conf

View file

@ -162,13 +162,13 @@ bindsym $mod+r mode resize
set $workspace1 "1:"
set $workspace2 "2:"
set $workspace3 "3:"
set $workspace4 "4:"
set $workspace4 "4:"
set $workspace5 "5:"
set $workspace6 "6:"
set $workspace7 "7:"
set $workspace8 "8"
set $workspace9 "9"
set $workspace10 "10"
set $workspace6 "6:"
set $workspace7 "7:"
set $workspace8 "8:"
set $workspace9 "9:"
set $workspace10 "10:"
# switch to workspace
bindsym $mod+1 workspace $workspace1
@ -196,7 +196,7 @@ bindsym $mod+Shift+0 move container to workspace $workspace10
# move current workspace to output
bindsym $mod+$mod2+Right move workspace to output right
bindsym $mod+$mod2+Left move workspace to output left
bindsym $mod+$mod2+Left move workspace to output left
# ------------------------------------------------------------------------------
# sway management
@ -211,56 +211,59 @@ bindsym $mod+Shift+e exec "swaynag -f 'pango:$font' -t warning -m 'sway beenden?
# Program shortcuts
# ------------------------------------------------------------------------------
bindsym $mod+Return exec alacritty
bindsym $mod+c exec chromium
bindsym $mod+b exec librewolf
bindsym $mod+t exec thunderbird
bindsym $mod+g exec code
bindsym $mod+z exec thunar
bindsym $mod+c exec chromium
bindsym $mod+b exec librewolf
bindsym $mod+t exec thunderbird
bindsym $mod+g exec code
bindsym $mod+z exec thunar
# ------------------------------------------------------------------------------
# Audio shortcuts
# ------------------------------------------------------------------------------
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume $(pactl get-default-sink) +1%
bindsym XF86AudioLowerVolume exec pactl set-sink-volume $(pactl get-default-sink) -1%
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume $(pactl get-default-sink) +1%
bindsym XF86AudioLowerVolume exec pactl set-sink-volume $(pactl get-default-sink) -1%
bindsym Shift+XF86AudioRaiseVolume exec pactl set-source-volume $(pactl get-default-source) +1%
bindsym Shift+XF86AudioLowerVolume exec pactl set-source-volume $(pactl get-default-source) -1%
bindsym XF86AudioMicMute exec $HOME/.local/bin/toggle-default-audio --source
bindsym XF86AudioMute exec $HOME/.local/bin/toggle-default-audio --sink
bindsym $mod+m exec $HOME/.local/bin/toggle-default-audio --source
bindsym $mod+Shift+m exec $HOME/.local/bin/toggle-default-audio --sink
bindsym XF86AudioMute exec $HOME/.local/bin/toggle-default-audio --sink
bindsym $mod+m exec $HOME/.local/bin/toggle-default-audio --source
bindsym $mod+Shift+m exec $HOME/.local/bin/toggle-default-audio --sink
# ------------------------------------------------------------------------------
# Video shortcuts
# ------------------------------------------------------------------------------
bindsym XF86MonBrightnessUp exec xbacklight +5
bindsym XF86MonBrightnessUp exec xbacklight +5
bindsym XF86MonBrightnessDown exec xbacklight -5
# ------------------------------------------------------------------------------
# Assignment of programs to workspaces
# ------------------------------------------------------------------------------
assign [app_id="^Alacritty$"] $workspace1
assign [class="^code-oss$"] $workspace2
assign [app_id="^code-oss$"] $workspace2
assign [class="^VSCodium$"] $workspace2
assign [app_id="^codium$"] $workspace2
assign [class="^jetbrains-idea$"] $workspace2
assign [class="^jetbrains-idea-ce$"] $workspace2
assign [class="^firefox$"] $workspace3
assign [app_id="^firefox$"] $workspace3
assign [app_id="^LibreWolf$"] $workspace3
assign [class="^Thunderbird$"] $workspace4
assign [app_id="^thunderbird$"] $workspace4
assign [app_id="^thunderbird-beta$"] $workspace4
assign [app_id="^thunar$"] $workspace5
assign [class="^Aseprite$"] $workspace6
assign [class="^Chromium$"] $workspace7
assign [app_id="^chromium$"] $workspace7
assign [class="^Slack$"] $workspace8
assign [class="^Element$"] $workspace8
assign [class="^Snowman$"] $workspace9
assign [class="^discord$"] $workspace10
assign [app_id="^Alacritty$"] $workspace1
assign [class="^code-oss$"] $workspace2
assign [app_id="^code-oss$"] $workspace2
assign [app_id="^dev.zed.Zed$"] $workspace2
assign [class="^VSCodium$"] $workspace2
assign [app_id="^codium$"] $workspace2
assign [class="^jetbrains-idea$"] $workspace2
assign [class="^jetbrains-idea-ce$"] $workspace2
assign [class="^firefox$"] $workspace3
assign [app_id="^firefox$"] $workspace3
assign [app_id="^LibreWolf$"] $workspace3
assign [class="^Thunderbird$"] $workspace4
assign [app_id="^thunderbird$"] $workspace4
assign [app_id="^thunderbird-beta$"] $workspace4
assign [app_id="^thunar$"] $workspace5
assign [class="^Chromium$"] $workspace7
assign [app_id="^chromium$"] $workspace7
assign [class="^Slack$"] $workspace8
assign [app_id="^Slack$"] $workspace8
assign [class="^Element$"] $workspace8
assign [class="^discord$"] $workspace8
assign [class="^Aseprite$"] $workspace9
assign [app_id="^@joplin/app-desktop$"] $workspace9
# ------------------------------------------------------------------------------
# Floating windows
@ -271,11 +274,11 @@ for_window [title="^Password Required - Mozilla Thunderbird$"] floating enable
# ------------------------------------------------------------------------------
# Screenshot shortcuts
# ------------------------------------------------------------------------------
bindsym Print exec $HOME/.local/bin/swaygrim --focused-output
bindsym Shift+Print exec $HOME/.local/bin/swaygrim --focused-window
bindsym $mod+Print exec $HOME/.local/bin/swaygrim --output
bindsym Print exec $HOME/.local/bin/swaygrim --focused-output
bindsym Shift+Print exec $HOME/.local/bin/swaygrim --focused-window
bindsym $mod+Print exec $HOME/.local/bin/swaygrim --output
bindsym $mod+Shift+Print exec $HOME/.local/bin/swaygrim --window
bindsym $mod2+Print exec $HOME/.local/bin/swaygrim --manual
bindsym $mod2+Print exec $HOME/.local/bin/swaygrim --manual
bindsym $mod+$mod2+Print exec $HOME/.local/bin/swaygrim --all
# ------------------------------------------------------------------------------

View file

@ -17,7 +17,7 @@ set $tertiary_monitor_x_offset 3840
set $tertiary_monitor_y_offset 0
set $tertiary_monitor_background $HOME/.local/share/backgrounds/mountain_vertical.jpg
set $internal_monitor_identifier eDP-1
set $internal_monitor_identifier eDP-1
# ------------------------------------------------------------------------------
# gammastep

View file

@ -3,6 +3,8 @@
[core]
editor = vim
[alias]
sw = switch
re = restore
co = checkout
ci = commit
st = status