-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
desktop: Switch from Hyprland to sway
Hyprland no longer works with the newest nvidia drivers, while nvidia have reportedly started testing their drivers against sway. Also: https://drewdevault.com/2023/09/17/Hyprland-toxicity.html
- Loading branch information
Showing
11 changed files
with
149 additions
and
253 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
set $mod Mod4 | ||
|
||
# Monitors | ||
|
||
output "Dell Inc. DELL G2723HN 5B0C3H3" { | ||
mode 1920x1080@164.997Hz | ||
adaptive_sync on | ||
max_render_time 3 | ||
} | ||
|
||
# Window decorations | ||
|
||
corner_radius 10 | ||
smart_corner_radius enable | ||
default_border pixel | ||
gaps { | ||
outer 20 | ||
inner 5 | ||
} | ||
|
||
# Keybindings | ||
|
||
## Basic applications | ||
bindsym { | ||
$mod+Q exec alacritty | ||
$mod+E exec emacsclient --create-frame --alternate-editor 'emacs' | ||
$mod+R exec rofi -show drun | ||
$mod+L exec keepassxc-copy | ||
} | ||
|
||
## Window/desktop management | ||
floating_modifier $mod | ||
|
||
bindsym { | ||
$mod+Up focus up | ||
$mod+Right focus right | ||
$mod+Down focus down | ||
$mod+Left focus left | ||
|
||
$mod+V floating toggle | ||
$mod+S sticky toggle | ||
|
||
$mod+C kill | ||
$mod+M exit | ||
} | ||
|
||
## Workspaces | ||
bindsym { | ||
$mod+1 workspace 1 | ||
$mod+2 workspace 2 | ||
$mod+3 workspace 3 | ||
$mod+4 workspace 4 | ||
$mod+5 workspace 5 | ||
$mod+6 workspace 6 | ||
$mod+7 workspace 7 | ||
$mod+8 workspace 8 | ||
$mod+9 workspace 9 | ||
$mod+0 workspace 10 | ||
|
||
$mod+Shift+1 move container to workspace 1; workspace 1 | ||
$mod+Shift+2 move container to workspace 2; workspace 2 | ||
$mod+Shift+3 move container to workspace 3; workspace 3 | ||
$mod+Shift+4 move container to workspace 4; workspace 4 | ||
$mod+Shift+5 move container to workspace 5; workspace 5 | ||
$mod+Shift+6 move container to workspace 6; workspace 6 | ||
$mod+Shift+7 move container to workspace 7; workspace 7 | ||
$mod+Shift+8 move container to workspace 8; workspace 8 | ||
$mod+Shift+9 move container to workspace 9; workspace 9 | ||
$mod+Shift+0 move container to workspace 10; workspace 10 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.