laptop config to transfer to new laptop

This commit is contained in:
_N0x 2025-05-01 02:09:09 +02:00
parent 0050404bd9
commit 24979c1872
3 changed files with 59 additions and 63 deletions

View File

@ -22,8 +22,9 @@
################
# See https://wiki.hyprland.org/Configuring/Monitors/
monitor=DP-2,2560x1440@165,0x0,1
monitor=DP-1,3440x1440@165,-440x1440,1
monitor = eDP-1,1920x1080@60,0x0,1
monitor = , preferred, -320x-1440, 1 # Homeoffice
# monitor = , preferred, auto, 1 # For automatic discplay connection
###################
### MY PROGRAMS ###
@ -51,7 +52,10 @@ $lockscreen = hyprlock
exec-once = waybar
exec-once = hyprpaper
exec-once = nm-applet
exec-once = blueman-applet
exec-once = bitwarden-desktop
exec-once = udiskie
exec-once = dunst
exec-once = nextcloud --background
@ -174,7 +178,7 @@ input {
# https://wiki.hyprland.org/Configuring/Variables/#gestures
gestures {
workspace_swipe = false
workspace_swipe = true
}
# Example per-device config
@ -204,6 +208,8 @@ bind = $mainMod, J, togglesplit, # dwindle
bind = $mainMod SHIFT, S, exec, $screenshot
bind = $mainMod SHIFT, B, exec, $pwmanager
bind = $mainMod, L, exec, $lockscreen
bind = $mainMod, F, fullscreen
bind = $mainMod, ESCAPE, exec, nwg-bar
# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l
@ -212,28 +218,28 @@ bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d
# Switch workspaces with mainMod + [0-9]
#bind = $mainMod, 1, workspace, 1
#bind = $mainMod, 2, workspace, 2
#bind = $mainMod, 3, workspace, 3
#bind = $mainMod, 4, workspace, 4
#bind = $mainMod, 5, workspace, 5
#bind = $mainMod, 6, workspace, 6
#bind = $mainMod, 7, workspace, 7
#bind = $mainMod, 8, workspace, 8
#bind = $mainMod, 9, workspace, 9
#bind = $mainMod, 0, workspace, 10
#
## Move active window to a workspace with mainMod + SHIFT + [0-9]
#bind = $mainMod SHIFT, 1, movetoworkspace, 1
#bind = $mainMod SHIFT, 2, movetoworkspace, 2
#bind = $mainMod SHIFT, 3, movetoworkspace, 3
#bind = $mainMod SHIFT, 4, movetoworkspace, 4
#bind = $mainMod SHIFT, 5, movetoworkspace, 5
#bind = $mainMod SHIFT, 6, movetoworkspace, 6
#bind = $mainMod SHIFT, 7, movetoworkspace, 7
#bind = $mainMod SHIFT, 8, movetoworkspace, 8
#bind = $mainMod SHIFT, 9, movetoworkspace, 9
#bind = $mainMod SHIFT, 0, movetoworkspace, 10
bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, workspace, 3
bind = $mainMod, 4, workspace, 4
bind = $mainMod, 5, workspace, 5
bind = $mainMod, 6, workspace, 6
bind = $mainMod, 7, workspace, 7
bind = $mainMod, 8, workspace, 8
bind = $mainMod, 9, workspace, 9
bind = $mainMod, 0, workspace, 10
# Move active window to a workspace with mainMod + SHIFT + [0-9]
bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3
bind = $mainMod SHIFT, 4, movetoworkspace, 4
bind = $mainMod SHIFT, 5, movetoworkspace, 5
bind = $mainMod SHIFT, 6, movetoworkspace, 6
bind = $mainMod SHIFT, 7, movetoworkspace, 7
bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10
# Example special workspace (scratchpad)
bind = $mainMod, space, togglespecialworkspace, magic
@ -268,7 +274,7 @@ bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 10%-
# Example windowrule v2
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
#
windowrule = float, ^(Bitwarden)$
windowrulev2 = float,title:^(Bitwarden)$
windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
@ -282,28 +288,4 @@ cursor {
no_hardware_cursors = true
}
#workspace = 1, monitor:DP-2
plugin {
split-monitor-workspaces {
count = 5
keep_focused = 0
enable_notifications = 0
enable_persistent_workspaces = 1
}
}
$mainMod = SUPER
# Switch workspaces with mainMod + [0-5]
bind = $mainMod, 1, split-workspace, 1
bind = $mainMod, 2, split-workspace, 2
bind = $mainMod, 3, split-workspace, 3
bind = $mainMod, 4, split-workspace, 4
bind = $mainMod, 5, split-workspace, 5
# Move active window to a workspace with mainMod + SHIFT + [0-5]
bind = $mainMod SHIFT, 1, split-movetoworkspacesilent, 1
bind = $mainMod SHIFT, 2, split-movetoworkspacesilent, 2
bind = $mainMod SHIFT, 3, split-movetoworkspacesilent, 3
bind = $mainMod SHIFT, 4, split-movetoworkspacesilent, 4
bind = $mainMod SHIFT, 5, split-movetoworkspacesilent, 5

View File

@ -1,6 +1,6 @@
background {
monitor =
path = $HOME/Nextcloud/Pictures/Wallpapers/MRR.png
path = $HOME/Nextcloud/Pictures/Wallpapers/wp/dots.png
color = rgba(59,66,82,1)
# all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations

View File

@ -10,21 +10,35 @@
// Choose the order of the modules
"modules-left": ["hyprland/workspaces","hyprland/window"],
"modules-center": ["clock"],
"modules-right": ["pulseaudio", "backlight", "network", "cpu", "memory", "tray"],
"modules-right": ["pulseaudio", "backlight", "network", "battery", "cpu", "memory", "tray"],
// Modules configuration
// "hyprland/workspaces": {
// "disable-scroll": true,
// //"all-outputs": true,
// "on-click": "activate",
// "format": "{icon}",
// "format-icons": {
// "empty": "",
// //"default": "",
// "default": "",
// "active": "",
// }
// },
"hyprland/workspaces": {
"disable-scroll": true,
//"all-outputs": true,
"on-click": "activate",
"format": "{icon}",
"format-icons": {
"empty": "",
//"default": "",
"default": "",
"active": "",
}
"format": "{name}",
"persistent_workspaces": {
"1": [],
"2": [],
"3": [],
"4": [],
"5": []
},
"all-outputs": true,
"active-only": false,
"sort-by-number": true
},
"keyboard-state": {
"numlock": false,
@ -79,7 +93,7 @@
"bat": "BAT2"
},
"network": {
"interface": "enp4s0", // (Optional) To force the use of this interface
"interface": "wlo1", // (Optional) To force the use of this interface
"format-wifi": "{essid} ",
"format-ethernet": "{ipaddr}/{cidr} ",
"tooltip-format": "{ifname} via {gwaddr} ",