Add and replace some hotkeys and apps and such
This commit is contained in:
parent
c13f95df8f
commit
e2b093a0bb
|
@ -6,9 +6,7 @@
|
||||||
noto-fonts
|
noto-fonts
|
||||||
sarasa-gothic
|
sarasa-gothic
|
||||||
ubuntu_font_family
|
ubuntu_font_family
|
||||||
(nerdfonts.override {
|
(nerdfonts.override { fonts = [ "UbuntuMono" ]; })
|
||||||
fonts = [ "UbuntuMono" ];
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
|
|
||||||
fonts.fontconfig = {
|
fonts.fontconfig = {
|
||||||
|
|
|
@ -40,6 +40,7 @@
|
||||||
// Volume
|
// Volume
|
||||||
${secMod}+j { spawn "sh" "-c" "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"; }
|
${secMod}+j { spawn "sh" "-c" "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"; }
|
||||||
${secMod}+k { spawn "sh" "-c" "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+"; }
|
${secMod}+k { spawn "sh" "-c" "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+"; }
|
||||||
|
${secMod}+m { spawn "sh" "-c" "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"; }
|
||||||
|
|
||||||
// MPD
|
// MPD
|
||||||
${primeMod}+Backslash { spawn "sh" "-c" "mpc toggle"; }
|
${primeMod}+Backslash { spawn "sh" "-c" "mpc toggle"; }
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./grimedit
|
./grimsnap
|
||||||
./mako
|
./mako
|
||||||
./swappy
|
|
||||||
./swaylock
|
./swaylock
|
||||||
./waybar
|
./waybar
|
||||||
./wlpicker
|
./wlpicker
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ pkgs, config, ... }:
|
{ pkgs, config, ... }:
|
||||||
{
|
{
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
(pkgs.writeScriptBin "grimedit" ''
|
(pkgs.writeScriptBin "grimsnap" ''
|
||||||
# Freeze the screen using hyprpicker
|
# Freeze the screen using hyprpicker
|
||||||
hyprpicker -r -z &
|
hyprpicker -r -z &
|
||||||
HYPRPICKER_PID=$!
|
HYPRPICKER_PID=$!
|
||||||
|
@ -22,7 +22,6 @@
|
||||||
|
|
||||||
# Save and edit screenshot
|
# Save and edit screenshot
|
||||||
grim -g "$GEOM" "$FILE"
|
grim -g "$GEOM" "$FILE"
|
||||||
swappy -f $FILE &
|
|
||||||
|
|
||||||
# Notify user that the screenshot is saved
|
# Notify user that the screenshot is saved
|
||||||
notify-send -a grim "Screenshot" "Area saved to $FILE" -i "$FILE"
|
notify-send -a grim "Screenshot" "Area saved to $FILE" -i "$FILE"
|
|
@ -1,11 +0,0 @@
|
||||||
{ pkgs, ... }:
|
|
||||||
{
|
|
||||||
home = {
|
|
||||||
packages = with pkgs; [ swappy ];
|
|
||||||
file.".config/swappy/config".text = ''
|
|
||||||
[Default]
|
|
||||||
early_exit=true
|
|
||||||
save_dir=$HOME/Pictures/Screenshots
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,84 +1,83 @@
|
||||||
# Sway Window Manager Hotkeys
|
# Sway Superdow Manager Hotkeys
|
||||||
|
|
||||||
## Application Launchers
|
## Application Launchers
|
||||||
| Key Combination | Action |
|
| Key Combination | Action |
|
||||||
|----------------------|-------------------------------------------|
|
|----------------------------|----------------------------------------|
|
||||||
| Win + F1 | Launch **LibreWolf** (Jim profile) |
|
| Super + F1 | Launch **LibreWolf** (Jim profile) |
|
||||||
| Win + F2 | Launch **LibreWolf** (Alt profile) |
|
| Super + F2 | Launch **LibreWolf** (Alt profile) |
|
||||||
| Win + F3 | Launch **LibreWolf** (Misc profile) |
|
| Super + F3 | Launch **LibreWolf** (Misc profile) |
|
||||||
| Win + F4 | Launch **Discord** |
|
| Super + F4 | Launch **Virt-Manager** |
|
||||||
| Win + F5 | Launch **Steam** |
|
| Super + F5 | Launch **Looking Glass** |
|
||||||
| Win + F6 | Launch **Heroic Games** |
|
|
||||||
| Win + F7 | Launch **Looking Glass** VM Client |
|
|
||||||
| Win + F10 | Launch **Virt-Manager** |
|
|
||||||
| Win + F11 | Open **Rofi Scratchpads** |
|
|
||||||
| Win + F12 | Open **NixOS Configuration Files** |
|
|
||||||
|
|
||||||
## Window Management
|
## Superdow Management
|
||||||
| Key Combination | Action |
|
| Key Combination | Action |
|
||||||
|----------------------|-------------------------------------------|
|
|----------------------------|----------------------------------------|
|
||||||
| Win + Arrows | Focus in the specified direction |
|
| Super + Arrows | Focus in the specified direction |
|
||||||
| Win + Shift + Arrows | Move window in the specified direction |
|
| Super + Shift + Arrows | Move window in the specified direction |
|
||||||
| Win + Shift + Space | Toggle window floating |
|
| Super + Shift + Space | Toggle window floating |
|
||||||
| Win + Space | Switch focus between floating/tiled |
|
| Super + Space | Switch focus between floating/tiled |
|
||||||
| Win + Shift + {1-9} | Move window to a workspace and focus |
|
| Super + Shift + 1-9 | Move window to a workspace and focus |
|
||||||
| Win + {1-9} | Switch to specified workspace |
|
| Super + 1-9 | Switch to specified workspace |
|
||||||
| Win + 0 | Pin window and toggle border |
|
| Super + 0 | Pin window and toggle border |
|
||||||
| Win + F | Toggle fullscreen |
|
| Super + F | Toggle fullscreen |
|
||||||
| Win + Shift + R | Reload configuration |
|
| Super + Shift + R | Reload configuration |
|
||||||
| Win + Q | Close the current window |
|
| Super + Q | Close the current window |
|
||||||
|
|
||||||
## Layout Management
|
## Layout Management
|
||||||
| Key Combination | Action |
|
| Key Combination | Action |
|
||||||
|----------------------|-------------------------------------------|
|
|----------------------------|----------------------------------------|
|
||||||
| Win + W | Toggle split layout |
|
| Super + W | Toggle split layout |
|
||||||
| Win + E | Toggle tabbed/stacking layout |
|
| Super + E | Toggle tabbed/stacking layout |
|
||||||
| Win + H/V | Split window horizontally/vertically |
|
| Super + H/V | Split window horizontally/vertically |
|
||||||
| Win + A/D | Focus parent/child container |
|
| Super + A/D | Focus parent/child container |
|
||||||
|
|
||||||
## Volume and Media Controls
|
## Volume and Media Controls
|
||||||
| Key Combination | Action |
|
| Key Combination | Action |
|
||||||
|----------------------|-------------------------------------------|
|
|----------------------------|----------------------------------------|
|
||||||
| XF86AudioRaiseVolume | Raise system volume |
|
| Alt + J | Lower system volume |
|
||||||
| XF86AudioLowerVolume | Lower system volume |
|
| Alt + K | Raise system volume |
|
||||||
| XF86AudioMute | Mute/unmute audio |
|
| Alt + M | Mute/unmute audio |
|
||||||
| XF86AudioPlay | Toggle media playback |
|
| Super + Backslash | Toggle media playback |
|
||||||
| XF86AudioNext | Skip to the next track |
|
| Alt + Shift + H | Skip to the next track |
|
||||||
| XF86AudioPrev | Go to the previous track |
|
| Alt + Shift + L | Go to the previous track |
|
||||||
|
|
||||||
## Screenshot and Brightness Controls
|
## Screenshot and Brightness Controls
|
||||||
| Key Combination | Action |
|
| Key Combination | Action |
|
||||||
|----------------------|-------------------------------------------|
|
|----------------------------|----------------------------------------|
|
||||||
| Print | Take a screenshot |
|
| Alt + F | Take a screenshot |
|
||||||
| Shift + Print | Screenshot of the current window |
|
| Alt + Shift + F | Screenshot of the current screen |
|
||||||
| Brightness Up + Down | Change screen brightness |
|
| Alt + Ctrl + F | Screenshot of the current window |
|
||||||
|
| Super + = | Brightness up |
|
||||||
|
| Super + - | Brightness down |
|
||||||
|
|
||||||
## Scratchpads
|
## Scratchpads
|
||||||
| Key Combination | Action |
|
| Key Combination | Action |
|
||||||
|----------------------|-------------------------------------------|
|
|----------------------------|----------------------------------------|
|
||||||
| Ctrl + Shift + Escape | Open **Gotop** (monitoring) |
|
| Super + Shift + Backslash | Open **Btop** (monitoring) |
|
||||||
| Win + Shift + M | Open **Music** scratchpad |
|
| Super + Shift + M | Open **Music** scratchpad |
|
||||||
| Win + Shift + V | Open **Sound Settings** scratchpad |
|
| Super + Shift + V | Open **Sound Settings** scratchpad |
|
||||||
| Win + Shift + Backslash | Open **EasyEffects** scratchpad |
|
|
||||||
|
|
||||||
## Special Sway Tools
|
## Special Sway Tools
|
||||||
| Key Combination | Action |
|
| Key Combination | Action |
|
||||||
|----------------------|-------------------------------------------|
|
|----------------------------|----------------------------------------|
|
||||||
| Win + Escape | **Kill** selected window |
|
| Super + Escape | **Kill** selected window |
|
||||||
| Win + Ctrl + X | **Inspect** window properties |
|
| Super + Ctrl + X | **Inspect** window properties |
|
||||||
| Win + Ctrl + Prior/Next | Switch OBS scene to **Main**/**Guest** |
|
|
||||||
|
|
||||||
## Miscellaneous
|
## Miscellaneous
|
||||||
| Key Combination | Action |
|
| Key Combination | Action |
|
||||||
|----------------------|-------------------------------------------|
|
|----------------------------|----------------------------------------|
|
||||||
| Win + Return | Open **Foot terminal** |
|
| Super + Return | Open **Foot terminal** |
|
||||||
| Win + S | Open **Rofi (run commands)** |
|
| Super + S | Open **Rofi** (run commands) |
|
||||||
| Win + C | Open **Clipman (clipboard manager)** |
|
| Super + C | Open **Clipman** (clipboard manager) |
|
||||||
| Win + X | Open **Power Menu** |
|
| Super + X | Open **Power Menu** |
|
||||||
| Win + B | Show/Hide **Waybar** |
|
| Super + B | Toggle **Waybar** |
|
||||||
|
| Super + Ctrl + S | Open **Rofi Scratchpads** |
|
||||||
|
| Super + Ctrl + X | Open **Rofi Power Menu** |
|
||||||
|
|
||||||
## Workspaces (Alternate)
|
## Workspaces
|
||||||
| Key Combination | Action |
|
| Key Combination | Action |
|
||||||
|----------------------|-------------------------------------------|
|
|----------------------------|----------------------------------------|
|
||||||
| Alt + F1-F9 | Switch to alternate workspace |
|
| Super + 1-9 | Switch to workspace |
|
||||||
| Alt + Shift + F1-F9 | Move window to alt workspace and focus |
|
| Super + Shift + 1-9 | Move window to workspace and focus |
|
||||||
|
| Alt + F1-F9 | Switch to alternate workspace |
|
||||||
|
| Alt + Shift + F1-F9 | Move window to alt workspace and focus |
|
||||||
|
|
|
@ -44,6 +44,7 @@
|
||||||
# Volume
|
# Volume
|
||||||
"${secMod}+j" = ''exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-'';
|
"${secMod}+j" = ''exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-'';
|
||||||
"${secMod}+k" = ''exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+'';
|
"${secMod}+k" = ''exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+'';
|
||||||
|
"${secMod}+m" = ''exec wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle'';
|
||||||
|
|
||||||
# MPD
|
# MPD
|
||||||
"${primeMod}+Backslash" = ''exec mpc toggle'';
|
"${primeMod}+Backslash" = ''exec mpc toggle'';
|
||||||
|
@ -60,7 +61,7 @@
|
||||||
"${primeMod}+Ctrl+n" = ''exec makoctl dismiss -a'';
|
"${primeMod}+Ctrl+n" = ''exec makoctl dismiss -a'';
|
||||||
|
|
||||||
# Screenshots
|
# Screenshots
|
||||||
"${secMod}+f" = ''exec grimedit'';
|
"${secMod}+f" = ''exec grimsnap'';
|
||||||
"${secMod}+Shift+f" = ''exec shot-sway --screen'';
|
"${secMod}+Shift+f" = ''exec shot-sway --screen'';
|
||||||
|
|
||||||
# Display and keyboard brightness
|
# Display and keyboard brightness
|
||||||
|
|
Loading…
Reference in a new issue