Skip to content

Commit

Permalink
feat: update hyprpanel config
Browse files Browse the repository at this point in the history
  • Loading branch information
M0NsTeRRR committed Oct 14, 2024
1 parent 8e2b628 commit 32f5040
Show file tree
Hide file tree
Showing 10 changed files with 31 additions and 47 deletions.
12 changes: 6 additions & 6 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 2 additions & 14 deletions home/config/hypr/hyprland.conf
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ device {
$mainMod = SUPER # Sets "Windows" key as main modifier
$terminal = kitty
$browser = firefox
$fileManager = nautilus
$fileManager = dolphin
$menu = rofi -show drun

# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
Expand All @@ -179,12 +179,8 @@ bind = $mainMod, R, exec, $menu
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle

# Screenshot a window
bind = $mainMod, PRINT, exec, hyprshot -m window
# Screenshot a monitor
bind = , PRINT, exec, hyprshot -m output
# Screenshot a region
bind = $shiftMod, PRINT, exec, hyprshot -m region
bind = , PRINT, exec, hyprshot -m region

# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l
Expand Down Expand Up @@ -216,18 +212,10 @@ bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10

# Example special workspace (scratchpad)
bind = $mainMod, S, togglespecialworkspace, magic
bind = $mainMod SHIFT, S, movetoworkspace, special:magic

# Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e-1

# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow


##############################
### WINDOWS AND WORKSPACES ###
Expand Down
4 changes: 2 additions & 2 deletions home/config/hyprpanel/options.json
Original file line number Diff line number Diff line change
Expand Up @@ -226,14 +226,14 @@
"workspaces"
],
"middle": [
"media"
"clock"
],
"right": [
"systray",
"media",
"volume",
"network",
"bluetooth",
"clock",
"battery",
"notifications"
]
Expand Down
1 change: 1 addition & 0 deletions home/user/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
hunspellDicts.en_US

# dev
vim
gcc
gnumake
python3
Expand Down
1 change: 1 addition & 0 deletions home/user/programs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
./git.nix
./home-manager.nix
./hyprland.nix
./gpg.nix
./kitty.nix
./starship.nix
./vscode.nix
Expand Down
9 changes: 9 additions & 0 deletions home/user/programs/git.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,14 @@
enable = true;
userName = "Ludovic Ortega";
userEmail = "ludovic.ortega@adminafk.fr";
signing = {
key = "81E390A404C7D583A6D6958E22F86C9B1BEC401D";
signByDefault = true;
};
extraConfig = {
core.editor = "vim";
ui.color = true;
push.autoSetupRemote = true;
};
};
}
1 change: 1 addition & 0 deletions home/user/programs/gpg.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ programs.gpg.enable = true; }
28 changes: 9 additions & 19 deletions home/user/scripts/yad.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,15 @@
--column=Description: \
--timeout=90 \
--timeout-indicat \
" + ENTER" "Terminal" " + K" "App launcher" \
" + R" "Run command" " + M" "Minecraft launcher" \
" + C" "Calculator" " + SHIFT + W" "Search websites" \
" + A" "Open notifications" " + SHIFT + A" "Clear notifications" \
" + W" "Launch Firefox" " + ." "Emoji picker" \
" + S" "Take screenshot" " + SHIFT + M" "Mute microphone" \
" + D" "Launch Discord" " + P" "Pause player" \
" + SHIFT + P" "Next track" " + ALT + P" "Previous track" \
" + SHIFT + C" "Launch VSCodium" " + O" "Start screen recording" \
" + SHIFT + O" "Stop screen recording" " + G" "Launch Chrome" \
" + E" "File browser" " + L" "Lock screen" \
" + BACKSLASH" "Open power menu" " + APOSTRAPHE" "Change wallpaper" \
" + V" "Open clipboard" " + SHIFT + V" "Clear clipboard" \
" + ;" "Pseudo tiling" " + F" "Toggle fullscreen on focused" \
" + B" "Toggle transparency on focused" " + SHIFT + F" "Toggle floating on focused" \
" +    " "Move focus to arrow key direction" " + SHIFT +    " "Move focused window in arrow key direction" \
" + 1-0" "Move to workspace 1 - 10" " + SHIFT + 1-0" "Move focused window to workspace 1 - 10" \
" + LMB" "Drag window" " + RMB" "Resize window" \
"ALT + TAB" "Cycle window focus" " + ALT + O" "Open recording center" \
" + Q" "Terminal" " + V" "Toogle floating" \
" + C" "Kill active" " + R" "App menu" \
" + M" "Exit" " + P" "Pseudo dwindle" \
" + E" "File Manager" " J" "Toogle split" \
" + <Number>" "Switch workspace" " + SHIFT + <Number>" "Move active window to a workspace" \
" + <Scroll>" "Switch workspace" " + <Direction arrow>" "Move focus" \
"PRINT" "Screenshot a region" \
'')
];
}
1 change: 0 additions & 1 deletion system/modules/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
./dns.nix
./file.nix
./fwupd.nix
./gpg.nix
./internationalization.nix
./logind.nix
./network.nix
Expand Down
5 changes: 0 additions & 5 deletions system/modules/gpg.nix

This file was deleted.

0 comments on commit 32f5040

Please sign in to comment.