various hyprland/wayland things
This commit is contained in:
parent
bc3e26df05
commit
f281790b4b
5 changed files with 28 additions and 12 deletions
|
@ -7,7 +7,7 @@ monitor=,preferred,auto,1
|
|||
env = GDK_SCALE=2
|
||||
env = XCURSOR_SIZE,24
|
||||
env = QT_QPA_PLATFORMTHEME,qt5ct # change to qt6ct if you have that
|
||||
env = GTK_THEME, Catppuccin-Mocha-Standard-Rosewater-Dark
|
||||
# env = GTK_THEME, Catppuccin-Mocha-Standard-Rosewater-Dark
|
||||
|
||||
|
||||
general {
|
||||
|
|
|
@ -1,9 +1,13 @@
|
|||
$mainMod = SUPER
|
||||
$term = wezterm
|
||||
$termStart = wezterm start
|
||||
# $term = alacritty
|
||||
# $termStart = alacritty
|
||||
|
||||
# Program binds
|
||||
bind = $mainMod SHIFT, RETURN, exec, wezterm
|
||||
bind = $mainMod SHIFT, RETURN, exec, $term
|
||||
bind = $mainMod, P, exec, ~/.config/rofi/bin/launcher.sh
|
||||
bind = $mainMod, N, exec, wezterm start --class "notes-editor" -e notes-commit
|
||||
bind = $mainMod, N, exec, $termStart --class "notes-editor" -e notes-commit
|
||||
|
||||
bind = $mainMod SHIFT, Q, killactive,
|
||||
bind = $mainMod SHIFT, L, exec, lock
|
||||
|
@ -41,11 +45,18 @@ bind = $mainMod SHIFT, 7, movetoworkspace, 7
|
|||
bind = $mainMod SHIFT, 8, movetoworkspace, 8
|
||||
bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
||||
|
||||
# Example special workspace (scratchpad)
|
||||
# bind = $mainMod, S, togglespecialworkspace, magic
|
||||
# bind = $mainMod SHIFT, S, movetoworkspace, special:magic
|
||||
# move active window but don't switch workspace withit
|
||||
bind = $mainMod CTRL, 1, movetoworkspacesilent, 1
|
||||
bind = $mainMod CTRL, 2, movetoworkspacesilent, 2
|
||||
bind = $mainMod CTRL, 3, movetoworkspacesilent, 3
|
||||
bind = $mainMod CTRL, 4, movetoworkspacesilent, 4
|
||||
bind = $mainMod CTRL, 5, movetoworkspacesilent, 5
|
||||
bind = $mainMod CTRL, 6, movetoworkspacesilent, 6
|
||||
bind = $mainMod CTRL, 7, movetoworkspacesilent, 7
|
||||
bind = $mainMod CTRL, 8, movetoworkspacesilent, 8
|
||||
bind = $mainMod CTRL, 9, movetoworkspacesilent, 9
|
||||
|
||||
bind = $mainMod, S,exec,grimblast copy area
|
||||
bind = $mainMod, S,exec, grimblast copy area
|
||||
bind = $mainMod SHIFT,S, exec, grimblast save output
|
||||
|
||||
bind = , XF86AudioLowerVolume, exec, pamixer --decrease 5
|
||||
|
@ -54,7 +65,6 @@ bind = , XF86AudioMute, exec, pamixer --toggle-mute
|
|||
bind = , XF86MonBrightnessUp, exec, brightnessctl set +5%
|
||||
bind = , XF86MonBrightnessDown, exec, brightnessctl set 5%-
|
||||
|
||||
|
||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||
bindm = $mainMod, mouse:272, movewindow
|
||||
bindm = $mainMod, mouse:273, resizewindow
|
||||
|
@ -68,8 +78,6 @@ bind = ,W, exec, ~/.config/rofi/bin/windows.sh
|
|||
bind = ,W, submap, reset
|
||||
bind = ,P, exec, ~/.config/rofi/bin/powermenu.sh
|
||||
bind = ,P, submap, reset
|
||||
# bind = ,N, exec, ~/.config/rofi/bin/notes.sh
|
||||
# bind = ,N, submap, reset
|
||||
|
||||
bind = ,escape, submap, reset
|
||||
submap = reset
|
||||
|
|
|
@ -11,6 +11,7 @@ profile work {
|
|||
profile {
|
||||
output eDP-1 mode 1920x1200 position 1920,0
|
||||
output DP-5 mode 1920x1080 position 0,0
|
||||
exec swww img -o eDP-1 ~/.config/hypr/wallpapers/current/00005-4229950720.png & swww img -o DP-5 ~/.config/hypr/wallpapers/current/00007-2215131892.png
|
||||
}
|
||||
|
||||
profile {
|
||||
|
|
|
@ -1,2 +1,5 @@
|
|||
before-sleep 'lock'
|
||||
timeout 300 'lock
|
||||
|
||||
timeout 300 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on'
|
||||
timeout 1800 'lock'
|
||||
timeout 3600 'systemctl suspend'
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
local wezterm = require("wezterm")
|
||||
local catppuccin = require("colors/catppuccin").setup({})
|
||||
local keys = require("keys")
|
||||
-- local keys = require("keys")
|
||||
|
||||
local padding = 10
|
||||
local config = {}
|
||||
|
@ -27,7 +27,11 @@ config.use_fancy_tab_bar = false
|
|||
config.hide_tab_bar_if_only_one_tab = true
|
||||
config.tab_bar_at_bottom = true
|
||||
--config.disable_default_key_bindings = true
|
||||
config.enable_wayland = false
|
||||
config.bold_brightens_ansi_colors = true
|
||||
config.default_gui_startup_args = { "start", "--always-new-process" }
|
||||
-- config.keys = keys.keys
|
||||
-- config.window_background_opacity = .9
|
||||
-- config.text_background_opacity = .9
|
||||
|
||||
return config
|
||||
|
|
Loading…
Reference in a new issue