diff --git a/README.md b/README.md index 467f59c..d3422ca 100644 --- a/README.md +++ b/README.md @@ -27,3 +27,6 @@ grub>reboot mv grub.cfg.off grub.cfg ``` remember install linux-zen-headers and linux-headers idk but but just do it + +-> recopy newest vmlinuz from /usr/lib/modules//vmlinuz /boot/vmlinuz-linux -> do for all linux kernel vmware +-> reinstall amd-ucode pacman -S amd-ucode diff --git a/backupconfig/montys.omp.json b/backupconfig/montys.omp.json new file mode 100644 index 0000000..03bc525 --- /dev/null +++ b/backupconfig/montys.omp.json @@ -0,0 +1,92 @@ +{ + "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", + "blocks": [ + { + "alignment": "left", + "segments": [ + { + "background": "#003543", + "foreground": "#00c983", + "leading_diamond": "\ue0b6", + "style": "diamond", + "template": " <>\uebd8 \ueb27 \ue62c \ue62f {{ .Icon }} {{ .UserName }} ", + "type": "os" + }, + { + "background": "#DA627D", + "foreground": "#ffffff", + "powerline_symbol": "\ue0b0", + "properties": { + "folder_icon": "\uf115", + "folder_separator_icon": "\\", + "home_icon": "", + "style": "full" + }, + "style": "powerline", + "template": "{{ .Path }}", + "type": "path" + }, + { + "background": "#FCA17D", + "foreground": "#ffffff", + "powerline_symbol": "\ue0b0", + "properties": { + "branch_icon": " <#ffffff>\udb80\udea2 ", + "fetch_stash_count": true, + "fetch_status": false, + "fetch_upstream_icon": true + }, + "style": "powerline", + "template": "{{ .HEAD }}{{ if gt .StashCount 0 }} \ueb4b {{ .StashCount }}{{ end }} ", + "type": "git" + }, + { + "background": "#76b367", + "foreground": "#ffffff", + "powerline_symbol": "\ue0b0", + "style": "powerline", + "template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} ", + "type": "node" + }, + + { + "background": "#2e9599", + "background_templates": [ + "{{ if gt .Code 0 }}red{{ end }}" + ], + "foreground": "#ffffff", + "powerline_symbol": "\ue0b0", + "properties": { + "always_enabled": true + }, + "style": "diamond", + "template": " {{ if gt .Code 0 }}\uf421{{ else }}\ue761 \ue77a{{ end }} ", + "trailing_diamond": "\ue0b4 \ue748 ", + "type": "status" + } + ], + "type": "prompt" + }, + { + "alignment": "left", + "newline": true, + "segments": [ + { + "foreground": "#cd5e42", + "style": "plain", + "template": "\ue3bf ", + "type": "root" + }, + { + "foreground": "#CD4277", + "style": "plain", + "template": " <#45F1C2> \uf20f \ued33 \ue648 \uf373 \uf35c |<#26C6DA>\uf0a4", + "type": "text" + } + ], + "type": "prompt" + } + ], + "final_space": true, + "version": 2 +} diff --git a/execs.conf b/execs.conf index d03b5ec..021c478 100644 --- a/execs.conf +++ b/execs.conf @@ -2,4 +2,3 @@ # Relevant Hyprland wiki section: https://wiki.hyprland.org/Configuring/Keywords/#executing # # exec-once = fcitx5 -d -exec-once = diff --git a/general.conf b/general.conf index 1d396fb..8d7bfb8 100644 --- a/general.conf +++ b/general.conf @@ -16,8 +16,8 @@ input { # kb_variant = ',' # kb_options = grp:alt_shift_toggle - repeat_delay = 180 - repeat_rate = 50 + repeat_delay = 155 + repeat_rate = 55 } diff --git a/keybinds.conf b/keybinds.conf index 0a9f568..65e61bc 100644 --- a/keybinds.conf +++ b/keybinds.conf @@ -3,11 +3,13 @@ unbind = Super, W unbind = Super, T +unbind = Alt, E # disbale side unbind = Super, B unbind = Super, M unbind = Super, N +unbind = Super, E # monve workspace unbind = Super, H @@ -46,7 +48,7 @@ bind = Alt, Q, killactive, bind = Alt, F, fullscreen, 1 bind = Alt, R, exec, killall ags ydotool; ags & # Restart widgets -bind = Alt, E, exec, Super, E, exec, nautilus --new-window # View color scheme and options +bind = Alt, E, exec, nautilus --new-window # Launch Nautilus (file manager) bind = Alt, M, exec, ags run-js 'openMusicControls.value = (!mpris.getPlayer() ? false : !openMusicControls.value);' # Toggle music controls bind = Alt, N, exec, ags -t 'sideright' # Toggle right sidebar diff --git a/scripts/toggle_fullscreen_left.sh b/scripts/toggle_fullscreen_left.sh new file mode 100755 index 0000000..0646453 --- /dev/null +++ b/scripts/toggle_fullscreen_left.sh @@ -0,0 +1,25 @@ +# Get the window identifiers from hyprctl clients +window_ids=$(hyprctl clients | grep 'pid:' | awk '{print $2}') +prev_monitor=$(hyprctl clients | grep 'monitor:' | awk '{print $2}') + +hyprctl dispatch movewindow l +current_monitor=$(hyprctl clients | grep 'monitor:' | awk '{print $2}') +echo $prev_monitor +echo $current_monitor + +if [[ $prev_monitor != $current_monitor ]] + then + # Loop through each window ID and set it to fullscreen + # for win_id in $window_ids + # do + # + # hyprctl dispatch movefocus $win_id + # hyprctl dispatch fullscreenstate 0 + # done + # + hyprctl dispatch bringactivetotop + else + hyprctl dispatch fullscreenstate 0 +fi + + diff --git a/scripts/toggle_fullscreen_right.sh b/scripts/toggle_fullscreen_right.sh new file mode 100755 index 0000000..f42763d --- /dev/null +++ b/scripts/toggle_fullscreen_right.sh @@ -0,0 +1,20 @@ +# Get the window identifiers from hyprctl clients +window_ids=$(hyprctl clients | grep 'pid:' | awk '{print $2}') +prev_monitor=$(hyprctl clients | grep 'monitor:' | awk '{print $2}') + +hyprctl dispatch movewindow r +current_monitor=$(hyprctl clients | grep 'monitor:' | awk '{print $2}') + +if [[ $prev_monitor != $current_monitor ]] + then + # Loop through each window ID and set it to fullscreen + for win_id in $window_ids + do + hyprctl dispatch fullscreenstate 0 $win_id + echo done + done + else + hyprctl dispatch fullscreenstate 0 +fi + +