feat: Update outdated hypr config #26

Open
aniva wants to merge 6 commits from wayland/hypr into main
7 changed files with 62 additions and 27 deletions

View File

@ -1,2 +0,0 @@
font:
size: 14

View File

@ -317,7 +317,6 @@ Here we set the default shell to ~bash~ but the vterm shell to the system
#+begin_src emacs-lisp
(use-package! smart-tabs-mode
:config
(print! "Configuring smart-tabs-mode")
(smart-tabs-insinuate
'c 'c++
'java
@ -357,7 +356,6 @@ Note that ~onsave~ was intentionally turned off because it messes with version c
#+begin_src emacs-lisp
(after! format
(print! "Configuring (after! format ...)")
'(not
emacs-lisp-mode
sql-mode ; Broken
@ -372,7 +370,6 @@ Note that ~onsave~ was intentionally turned off because it messes with version c
#+begin_src emacs-lisp
(after! flyspell
(print! "Configuring (after! flyspell ...)")
(setq flyspell-default-dictionary "english"))
#+end_src
@ -483,6 +480,13 @@ removed.
)
#+end_src
*** Julia
#+begin_src emacs-lisp
(add-hook 'julia-mode-hook (lambda ()
(setq tab-width 4)))
#+end_src
*** LaTeX
The target indentation style of ~LaTeX~ is as follows:
@ -545,7 +549,6 @@ introduced.
#+begin_src emacs-lisp
(after! latex
(print! "Configuring (after! latex ...)")
(add-hook 'tex-mode-hook #'custom/common-program-hook)
(add-hook 'LaTeX-mode-hook #'custom/common-program-hook)
(setq-default TeX-electric-sub-and-superscript nil)
@ -675,7 +678,19 @@ Add the necessary hooks for LilyPond mode.
(package! typst-ts-mode :recipe (
:type git :host codeberg :repo "meow_king/typst-ts-mode"))
#+end_src
#+begin_src emacs-lisp
(defun custom/typst-hook ()
(display-line-numbers-mode)
(display-fill-column-indicator-mode)
(setq
indent-tabs-mode t
tab-width 2
standard-indent 2)
(smart-tabs-mode-enable)
)
(after! typst-ts-mode
(add-hook 'typst-ts-mode-hook #'custom/typst-hook))
(map! :after typst-ts-mode
:localleader
:map typst-ts-mode-map

View File

@ -183,7 +183,7 @@
:app
calendar
emms
;;emms
everywhere ; *leave* Emacs!? You must be joking
;;irc ; how neckbeards socialize
;;(rss +org) ; emacs as an RSS reader

View File

@ -6,7 +6,7 @@ $workspace_inactive_bg: transparent;
$workspace_active: rgba(180, 190, 200, 0.9);
$workspace_active_bg: transparent;
$workspace_focused: rgba(220, 230, 230, 0.9);
$workspace_focused_bg: rgba(100, 114, 125, 0.5);
$workspace_focused_bg: rgba(100, 114, 125, 0.9);
$workspace_hover: #2E5DFF;
$widget_bg: rgba(40, 40, 40, 0.5);
@ -100,9 +100,9 @@ box .workspaces {
border-radius: 10px;
button {
all: unset;
font-size: 30px;
padding-left: 2px;
margin: -5px -5px -5px -5px;
font-size: 40px;
padding-left: 5px;
margin: -20px -5px -5px -5px;
border-radius: 2px;
}
button:hover {
@ -110,7 +110,7 @@ box .workspaces {
}
.focused {
color: $workspace_focused;
background-color: $workspace_focused_bg;
text-shadow: 2px 2px 1px $workspace_focused_bg;
}
.active {
color: $workspace_active;

View File

@ -10,7 +10,7 @@ monitor=,preferred,auto,auto
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
exec-once = hyprpaper & swaync & fcitx5 & flameshot & eww --config ~/.config/eww/bar open vbar & kando
exec-once = hyprpaper & swaync & fcitx5 & flameshot & eww --config ~/.config/eww/bar open vbar & kando & timidity -iA
# Source a file (multi-file configs)
# source = ~/.config/hypr/myColors.conf
@ -52,10 +52,10 @@ decoration {
rounding = 10
drop_shadow = yes
shadow_range = 4
shadow_render_power = 3
col.shadow = rgba(1a1a1aee)
#drop_shadow = yes
#shadow_range = 4
#shadow_render_power = 3
#col.shadow = rgba(1a1a1aee)
active_opacity = 0.95
inactive_opacity = 0.7
@ -197,6 +197,7 @@ 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
bindm = $mainMod SHIFT, mouse:273, resizewindow 1
bind = SUPER,Tab,cyclenext, # change focus to another window
bind = SUPER,Tab,bringactivetotop, # bring it to the top

View File

@ -1,15 +1,36 @@
{
"menuTheme": "neon-lights",
"locale": "auto",
"menuTheme": "default",
"darkMenuTheme": "default",
"menuThemeColors": {
"neon-lights": {
"glow-color": "rgba(168, 255, 196, 1)",
"connector-color": "rgba(173, 222, 255, 0.75)"
}
},
"menuThemeColors": {},
"darkMenuThemeColors": {},
"enableDarkModeForMenuThemes": false,
"sidebarVisible": false,
"soundTheme": "none",
"soundVolume": 0.5,
"sidebarVisible": true,
"ignoreWriteProtectedConfigFiles": false,
"trayIconFlavor": "color",
"enableVersionCheck": true,
"zoomFactor": 1
"zoomFactor": 1,
"menuOptions": {
"centerDeadZone": 50,
"minParentDistance": 150,
"dragThreshold": 15,
"fadeInDuration": 150,
"fadeOutDuration": 200,
"enableMarkingMode": true,
"enableTurboMode": true,
"gestureMinStrokeLength": 150,
"gestureMinStrokeAngle": 20,
"gestureJitterThreshold": 10,
"gesturePauseTimeout": 100,
"fixedStrokeLength": 0,
"rmbSelectsParent": false,
"gamepadBackButton": 1,
"gamepadCloseButton": 2
},
"editorOptions": {
"showSidebarButtonVisible": true,
"showEditorButtonVisible": true
}
}

View File

@ -1,7 +1,7 @@
# Lock
ignore-empty-password
show-failed-attempts
grace=2
grace=0
# Clock
clock