Compare commits

...

4 Commits

Author SHA1 Message Date
2fb3eb1f52 update 2025-10-24 10:53:43 +02:00
28441df095 various 2025-08-03 13:16:51 +02:00
2670f63d20 various updates 2025-06-19 10:04:20 +02:00
34b5a37e8a various updates 2025-02-27 10:40:26 +01:00
29 changed files with 422 additions and 97 deletions

View File

@ -0,0 +1 @@
{"partition":{"per_host_zoom_levels":{"17930316523213634392":{"app.clickup.com":2.0}}},"spellcheck":{"dictionaries":["en-US","de-DE"],"dictionary":""}}

View File

@ -46,7 +46,7 @@
},
// ------------------ 2. FILE MANAGEMENT -----------------
{
"key": "ctrl+a f",
"key": "ctrl+e",
"command": "workbench.files.action.focusFilesExplorer"
},
{
@ -290,4 +290,111 @@
"key": "ctrl+shift+i",
"command": "workbench.action.chat.openInEditor"
},
{
"key": "ctrl+k e",
"command": "-workbench.files.action.focusOpenEditorsView",
"when": "workbench.explorer.openEditorsView.active"
},
{
"key": "ctrl+e",
"command": "-workbench.action.quickOpen"
},
{
"key": "ctrl+e",
"command": "-thunder-client.change-env",
"when": "activeWebviewPanelId == 'tc.env-view' || activeWebviewPanelId == 'tc.request-view' || activeWebviewPanelId == 'tc.runcol-view'"
},
{
"key": "ctrl+e",
"command": "-editor.action.toggleScreenReaderAccessibilityMode",
"when": "accessibilityHelpIsShown"
},
{
"key": "ctrl+r",
"command": "renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "f2",
"command": "-renameFile",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus"
},
{
"key": "ctrl+l",
"command": "-notebook.centerActiveCell",
"when": "notebookEditorFocused"
},
{
"key": "ctrl+shift+h",
"command": "-workbench.action.replaceInFiles"
},
{
"key": "ctrl+shift+h",
"command": "references-view.showCallHierarchy",
"when": "editorHasCallHierarchyProvider"
},
{
"key": "ctrl+shift+c",
"command": "workbench.files.action.collapseExplorerFolders",
"when": "filesExplorerFocus && foldersViewVisible && !explorerResourceIsRoot && !inputFocus"
},
{
"key": "alt+p",
"command": "goto-folder.find-folder"
},
{
"key": "ctrl+shift+alt+m",
"command": "-goto-folder.find-folder"
},
{
"key": "alt+p",
"command": "-togglePreserveCase",
"when": "editorFocus"
},
{
"key": "alt+p",
"command": "-toggleSearchPreserveCase",
"when": "searchViewletFocus"
},
{
"key": "alt+p",
"command": "-keybindings.editor.toggleSortByPrecedence",
"when": "inKeybindings"
},
{
"key": "ctrl+shift+g",
"command": "-workbench.action.terminal.openDetectedLink",
"when": "accessibleViewIsShown && terminalHasBeenCreated && accessibleViewCurrentProviderId == 'terminal'"
},
{
"key": "ctrl+shift+g",
"command": "-workbench.view.scm",
"when": "workbench.scm.active"
},
{
"key": "ctrl+alt+g",
"command": "-workbench.action.terminal.sendSequence",
"when": "terminalFocus"
},
{
"key": "ctrl+g",
"command": "-workbench.action.terminal.goToRecentDirectory",
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
},
{
"key": "ctrl+shift+g",
"command": "workbench.action.gotoLine"
},
{
"key": "ctrl+g",
"command": "-workbench.action.gotoLine"
},
{
"key": "ctrl+g",
"command": "relative-goto.goto"
},
{
"key": "alt+g",
"command": "-relative-goto.goto"
},
]

View File

@ -27,6 +27,11 @@
"**/.ammonite": true
},
//
// File associations with languages
"files.associations": {
"*.pgpass" : "yaml",
},
//
// Settings Sync
"settingsSync.ignoredSettings": [
"sshfs.configs",
@ -92,7 +97,7 @@
"emmet.showAbbreviationSuggestions": false,
"editor.linkedEditing": true,
"editor.codeActionsOnSave": {
"source.organizeImports": "always"
// "source.organizeImports": "always"
}
},
//
@ -112,4 +117,10 @@
"emmet.showExpandedAbbreviation": "never",
"git.openRepositoryInParentFolders": "never",
"editor.selectionClipboard": false,
"git.blame.editorDecoration.enabled": true,
"python.analysis.typeCheckingMode": "basic",
"workbench.editor.empty.hint": "hidden",
"python.defaultInterpreterPath": "/home/paul/.pyenv/versions/3.12.5/envs/wasteside-tools",
"editor.lineNumbers": "relative",
"github.copilot.nextEditSuggestions.enabled": true,
}

View File

@ -47,7 +47,8 @@ bindings = [
[keyboard]
bindings = [
{ key = "Back", mods = "Control", chars = "\u001b\u007f"}
{ key = "Back", mods = "Control", chars = "\u001b\u007f"},
{ key = "N", mods = "Control", action = "SpawnNewInstance" }
]
[scrolling]

2
.config/code-flags.conf Normal file
View File

@ -0,0 +1,2 @@
--enable-features=UseOzonePlatform
--ozone-platform=wayland

View File

@ -4,7 +4,7 @@
### Display ###
# Which monitor should the notifications be displayed on.
monitor = 1
monitor = DP-2
# Display notification on focused monitor. Possible modes are:
# mouse: follow mouse pointer
@ -210,6 +210,7 @@
history_length = 20
### Misc/Advanced ###
dmenu = /usr/bin/tofi
# Browser for opening urls in context menu.
browser = /usr/bin/xdg-open
@ -228,7 +229,7 @@
# corners.
# The radius will be automatically lowered if it exceeds half of the
# notification height to avoid clipping text and/or icons.
corner_radius = 5
corner_radius = 10
# Ignore the dbus closeNotification message.
# Useful to enforce the timeout set by dunst configuration. Without this
@ -315,6 +316,7 @@
[spotify]
appname = "Spotify"
frame_color = "#1ED760"
format = "Now Playing\n<b>%s</b>\n%b"
# Every section that isn't one of the above is interpreted as a rules to

View File

@ -0,0 +1,2 @@
--enable-features=UseOzonePlatform
--ozone-platform=wayland

View File

@ -0,0 +1,20 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<fontconfig>
<match target="font">
<test qual="any" name="family">
<string>Calibri</string>
</test>
<edit name="embeddedbitmap">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test qual="any" name="family">
<string>Aptos</string>
</test>
<edit name="embeddedbitmap">
<bool>false</bool>
</edit>
</match>
</fontconfig>

View File

@ -18,6 +18,7 @@
# See https://wiki.hyprland.org/Configuring/Monitors/
monitor=DP-2,3440x1440@144,auto,auto
monitor=DP-3,1920x1080,-1080x-550,1,transform,1
monitor=HDMI-A-1,3440x1440@144,auto,auto
###################
@ -40,19 +41,31 @@ $browser = firefox
# Or execute your favorite apps at launch like this:
exec-once = hyprpaper
exec-once = waybar
exec-once = hypridle
exec-once = systemctl --user start hyprpolkitagent
exec-once = dunst
exec-once = wl-paste --type text --watch cliphist store # Stores only text data
exec-once = noisetorch -i
exec-once = waybar
# Open programs on special workspaces
exec-once = [ workspace special:term silent] $terminal
exec-once = [ workspace special:browser silent] $browser -url "https://web.whatsapp.com"
exec-once = [ workspace special:music silent] spotify
exec-once = [ workspace special:browser silent] $browser "https://web.whatsapp.com" "https://mail.google.com/mail/u/0/\##inbox/\##wasteside\##container-wasteside"
exec-once = [ workspace special:browser silent] gnome-calendar
exec-once = [ workspace special:music silent] $terminal -e spotify_player
exec-once = [ workspace special:todo silent] clickup
exec-once = [ workspace special:files silent] $fileManager
exec-once = [ workspace special:files silent] localsend
# Script to make bitwarden firefox extension windows launch in floating mode
exec-once = ~/.config/hypr/scripts/float-bitwarden.sh
# Makes sure ratbag is running
exec-once = ratbagctl list
# Plugins
exec-once = hyprpm enable Hyprspace
exec-once = hyprpm reload
#############################
### ENVIRONMENT VARIABLES ###
#############################
@ -106,6 +119,8 @@ decoration {
active_opacity = 1.0
inactive_opacity = 1.0
dim_special = 0.9
# Deprecated v0.45 ?
# drop_shadow = true
# shadow_range = 4
@ -152,8 +167,8 @@ master {
# https://wiki.hyprland.org/Configuring/Variables/#misc
misc {
force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :(
force_default_wallpaper = 0 # Set to 0 or 1 to disable the anime mascot wallpapers
disable_hyprland_logo = true # If true disables the random hyprland logo / anime girl background. :(
}
@ -180,7 +195,7 @@ input {
# https://wiki.hyprland.org/Configuring/Variables/#gestures
gestures {
workspace_swipe = false
}
# Example per-device config
@ -220,7 +235,8 @@ bind = $mainMod SHIFT, S, exec, hyprshot -m region
bind = $mainMod, PRINT, exec, hyprshot -m window
bind = $mainMod SHIFT, B, exec, pkill waybar & hyprctl dispatch exec waybar
bind = $mainMod SHIFT, C, exec, hyprpicker | wl-copy
bind = $mainMod, TAB, overview:toggle
# bind = $mainMod, TAB, overview:toggle
bind = $mainMod, END, exec, wlogout -b 6 -L 1100 -R 1100 -T 650 -B 650
# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l
@ -243,7 +259,6 @@ 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
# Switch workspaces of secondary monitor with mainMod + [F1-9]
bind = $mainMod, F1, workspace, 11
@ -254,7 +269,6 @@ bind = $mainMod, F5, workspace, 15
bind = $mainMod, F6, workspace, 16
bind = $mainMod, F7, workspace, 17
bind = $mainMod, F8, workspace, 18
bind = $mainMod, F9, workspace, 19
# Move active window to a workspace with mainMod + SHIFT + [1-9] (primary monitor)
bind = $mainMod SHIFT, 1, movetoworkspace, 1
@ -264,8 +278,6 @@ 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
# Move active window to a workspace with mainMod + SHIFT + [F1-F9] (secondary monitor)
bind = $mainMod SHIFT, F1, movetoworkspace, 11
@ -275,16 +287,18 @@ bind = $mainMod SHIFT, F4, movetoworkspace, 14
bind = $mainMod SHIFT, F5, movetoworkspace, 15
bind = $mainMod SHIFT, F6, movetoworkspace, 16
bind = $mainMod SHIFT, F7, movetoworkspace, 17
bind = $mainMod SHIFT, F8, movetoworkspace, 18
bind = $mainMod SHIFT, F9, movetoworkspace, 19
# Special workspaces (scratchpad)
bind = $mainMod, F10, togglespecialworkspace, term
bind = $mainMod SHIFT, F10, movetoworkspace, special:term
bind = $mainMod, F12, togglespecialworkspace, term
bind = $mainMod SHIFT, F12, movetoworkspace, special:term
bind = $mainMod, F11, togglespecialworkspace, browser
bind = $mainMod SHIFT, F11, movetoworkspace, special:browser
bind = $mainMod, F12, togglespecialworkspace, music
bind = $mainMod SHIFT, F12, movetoworkspace, special:music
bind = $mainMod, F10, togglespecialworkspace, music
bind = $mainMod SHIFT, F10, movetoworkspace, special:music
bind = $mainMod, F9, togglespecialworkspace, todo
bind = $mainMod SHIFT, F9, movetoworkspace, special:todo
bind = $mainMod, F8, togglespecialworkspace, files
bind = $mainMod SHIFT, F8, movetoworkspace, special:files
# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
@ -320,6 +334,12 @@ windowrulev2 = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinn
# Window rules to assign windows to workspaces
windowrulev2 = float,title:^(.*Extension: Bitwarden.*)$
# Always center ClickUp command bar
windowrulev2 = center, title:ClickUp Command Bar
# Dont use floating mode for freerdp
windowrulev2 = tile, class:xfreerdp
# Open audio settings in floating mode
windowrulev2 = float, class:org.pulseaudio.pavucontrol
windowrulev2 = size 500 1000, class:org.pulseaudio.pavucontrol
@ -351,4 +371,4 @@ workspace = 14, monitor:DP-3
workspace = 15, monitor:DP-3
workspace = special:music, gapsout:40 1800 50 50
workspace = special:music, monitor:DP-2
workspace = special:music, monitor:DP-2

View File

@ -1,2 +1,2 @@
preload = /home/paul/downloads/gnome-background.webp
wallpaper = , /home/paul/downloads/gnome-background.webp
preload = ~/.config/hypr/img/gnome-background.webp
wallpaper = , ~/.config/hypr/img/gnome-background.webp

View File

@ -0,0 +1,5 @@
#!/bin/bash
song_info=$(playerctl metadata --format '{{title}}  {{artist}}')
echo "$song_info"

View File

@ -0,0 +1,6 @@
context.modules = [
{
name = libpipewire-module-raop-discover
args = { }
}
]

View File

@ -11,6 +11,7 @@
],
"modules-right": [
"privacy",
"custom/coffee",
"pulseaudio",
"cpu",
"memory",
@ -23,6 +24,13 @@
"tooltip": false,
"on-click": "hyprctl dispatch exec 'wlogout -b 6 -L 1100 -R 1100 -T 650 -B 650'"
},
"custom/coffee": {
"exec": "/usr/bin/python3 /home/paul/.config/waybar/scripts/coffee.py",
"format": "{}",
"return-type": "json",
"interval": 1,
"on-click": "pidof hypridle >/dev/null && killall hypridle || hyprctl dispatch exec hypridle"
},
"hyprland/workspaces": {
"format": "{name}",
"tooltip": false,
@ -33,7 +41,7 @@
"format": "{0:%b, %d %H:%M:%S}",
"interval": 1,
"tooltip": true,
"tooltip-format": "{0:%A, %d.%m.%Y W%W}"
"tooltip-format": "{0:%A, %d.%m.%Y W%V}"
},
"custom/spotify": {
"exec": "/usr/bin/python3 /home/paul/downloads/repos/Waybar/resources/custom_modules/mediaplayer.py",

View File

@ -0,0 +1,25 @@
from argparse import ArgumentParser
from json import dumps
from subprocess import run
COFFEE_ICON = "\ue751"
if __name__ == "__main__":
result = run(["pidof", "hypridle"], capture_output=True, text=True)
if result.returncode == 0:
# Hypridle is running
print(dumps({
"text": COFFEE_ICON,
"tooltip": "Hypridle is running",
"class": "inactive"
}))
else:
# Hypridle is not running
print(dumps({
"text": COFFEE_ICON,
"tooltip": "Hypridle is not running",
"class": "active"
}))

View File

@ -1,12 +1,12 @@
* {
border: none;
font-family: 'Fira Sans Semibold', 'Symbols Nerd Font Mono';
font-size: 16px;
font-family: 'Verdana', 'Cantarell', 'monospace', 'Symbols Nerd Font Mono';
font-size: 12px;
font-feature-settings: '"zero", "ss01", "ss02", "ss03", "ss04", "ss05", "cv31"';
}
window#waybar {
background: transparent;
background: rgba(0, 0, 0, 0.5);
}
/* All modules */
@ -14,15 +14,12 @@ window#waybar {
/* Module on the left */
.modules-left {
color: #cdd6f4;
margin-top: 4px;
margin-left: 10px;
}
#custom-power {
background-color: rgba(255, 255, 255, 0.2);
color: white;
padding: 0px 9px;
border-radius: 100px;
padding: 0px 8px;
padding-left: 18px;
font-weight: 800;
}
@ -35,7 +32,6 @@ window#waybar {
margin-left: 10px;
font-size: 12px;
border-radius: 100px;
background-color: rgba(255, 255, 255, 0.2);
padding: 2px;
}
@ -43,34 +39,32 @@ window#waybar {
color: white;
animation: gradient_f 20s ease-in infinite;
transition: all 0.2s ease-in;
border-radius: 100px;
padding: 0px 4px;
margin: 0px 2px;
margin: 0px;
padding: 0px;
}
#workspaces button:hover {
background: none;
background-color: black;
color: white;
box-shadow: inherit;
text-shadow: inherit;
}
#workspaces button.active {
background-color: #33ccff;
color: #167797;
border-radius: 100px;
padding: 0px 10px;
color: #33ccff;
}
#custom-spotify {
margin-left: 20px;
padding: 0px 10px;
}
#custom-spotify:hover {
background-color: rgba(0, 0, 0, 0.4);
}
/* Module in the middle */
#clock {
color: #cdd6f4;
margin-top: 3px;
padding-left: 10px;
padding-right: 10px;
margin-right: 15px;
@ -79,36 +73,41 @@ window#waybar {
/* Module on the right */
.modules-right {
color: black;
margin-top: 3px;
color: white;
margin-right: 10px;
}
#custom-wireguard, #memory {
background-color: rgba(255, 255, 255, 0.8);
border-radius: 0px 100px 100px 0px;
padding-right: 7px;
.modules-right *:hover {
background-color: rgba(0, 0, 0, 0.2);
}
#bluetooth, #cpu {
background-color: rgba(255, 255, 255, 0.8);
border-radius: 100px 0px 0px 100px;
padding: 0px 7px;
.modules-right * {
padding: 0px 10px;
}
#memory {
margin-right: 7px;
padding-left: 5px;
}
#pulseaudio {
color: white;
margin-right: 7px;
#cpu {
padding-right: 5px;
}
#privacy {
background-color: rgba(17, 17, 27, 0.15);
padding: 0px 10px;
border-radius: 100px;
color: white;
margin-right: 7px;
}
#bluetooth {
padding-right: 5px;
}
#custom-wireguard {
padding-left: 5px;
}
#custom-coffee {
padding-right: 5px;
}
.inactive {
opacity: 0.5;
}

View File

@ -0,0 +1,17 @@
# Disable all monitor sources (e.g. output mirrors) so they don't appear as input devices
monitor.rules = [
{
matches = [
{
device.class = "monitor"
}
]
actions = {
update-props = {
device.nick = "Please Be Disabled"
device.disabled = true
device.description = "Disabled Monitor Source"
}
}
}
]

View File

@ -0,0 +1,75 @@
monitor.alsa.rules = [
# OUTPUT DEVICES
{
matches = [
{ node.name = "alsa_output.pci-0000_01_00.1.hdmi-stereo" }
],
actions = {
update-props = {
node.description = "BenQ GL2580",
}
}
},
{
matches = [
{ node.name = "alsa_output.pci-0000_11_00.6.analog-stereo" }
],
actions = {
update-props = {
node.description = "Logitech Z313",
}
}
},
{
matches = [
{ node.name = "alsa_output.usb-Razer_Razer_BlackShark_V2_Pro-00.analog-stereo" }
],
actions = {
update-props = {
node.description = "Razer BlackShark V2 Pro",
}
}
},
{
matches = [
{ node.name = "alsa_output.usb-R__DE_Microphones_R__DE_NT-USB_Mini_514A76EB-00.analog-stereo" }
],
actions = {
update-props = {
node.description = "RØDE NT-USB Mini",
}
}
},
# INPUT DEVICES
{
matches = [
{ node.name = "alsa_input.usb-R__DE_Microphones_R__DE_NT-USB_Mini_514A76EB-00.mono-fallback" }
],
actions = {
update-props = {
node.description = "RØDE NT-USB Mini",
}
}
},
{
matches = [
{ node.name = "alsa_input.usb-Razer_Razer_BlackShark_V2_Pro-00.mono-fallback" }
],
actions = {
update-props = {
node.description = "Razer BlackShark V2 Pro",
}
}
},
{
matches = [
{ node.name = "alsa_input.pci-0000_11_00.6.analog-stereo" }
],
actions = {
update-props = {
node.description = "3.5mm Input",
}
}
}
]

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

View File

@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="#33ccff" fill-rule="evenodd" d="M12 2.75A5.25 5.25 0 0 0 6.75 8v2.004Q7.323 9.999 8 10h8c2.828 0 4.243 0 5.121.879C22 11.757 22 13.172 22 16s0 4.243-.879 5.121C20.243 22 18.828 22 16 22H8c-2.828 0-4.243 0-5.121-.879C2 20.243 2 18.828 2 16s0-4.243.879-5.121c.53-.531 1.256-.741 2.371-.824V8a6.75 6.75 0 0 1 13.287-1.687a.75.75 0 1 1-1.452.374A5.25 5.25 0 0 0 12 2.75M12.75 14a.75.75 0 0 0-1.5 0v4a.75.75 0 0 0 1.5 0z" clip-rule="evenodd"/></svg>

Before

Width:  |  Height:  |  Size: 541 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.9 KiB

After

Width:  |  Height:  |  Size: 22 KiB

View File

@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 24 24"><path fill="white" fill-rule="evenodd" d="M12 2.75A5.25 5.25 0 0 0 6.75 8v2.004Q7.323 9.999 8 10h8c2.828 0 4.243 0 5.121.879C22 11.757 22 13.172 22 16s0 4.243-.879 5.121C20.243 22 18.828 22 16 22H8c-2.828 0-4.243 0-5.121-.879C2 20.243 2 18.828 2 16s0-4.243.879-5.121c.53-.531 1.256-.741 2.371-.824V8a6.75 6.75 0 0 1 13.287-1.687a.75.75 0 1 1-1.452.374A5.25 5.25 0 0 0 12 2.75M12.75 14a.75.75 0 0 0-1.5 0v4a.75.75 0 0 0 1.5 0z" clip-rule="evenodd"/></svg>

Before

Width:  |  Height:  |  Size: 539 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View File

@ -4,12 +4,6 @@
"text" : "Lock",
"keybind" : "l"
}
{
"label" : "hibernate",
"action" : "systemctl hibernate",
"text" : "Hibernate",
"keybind" : "h"
}
{
"label" : "logout",
"action" : "loginctl terminate-user $USER",
@ -34,3 +28,9 @@
"text" : "Reboot",
"keybind" : "r"
}
{
"label" : "windows",
"action" : "/usr/local/bin/reboot_windows",
"text" : "Windows",
"keybind" : "w"
}

View File

@ -1,11 +1,11 @@
* {
background-image: none;
box-shadow: none;
font-family: "Fira Sans Semibold", 'Courier New', Courier, monospace;
font-family: "Cantarell", 'Courier New', Courier, monospace;
}
window {
background-color: rgba(12, 12, 12, 0.8);
background-color: rgba(12, 12, 12, 0.9);
}
button {
@ -23,7 +23,7 @@ button {
button:focus, button:active, button:hover {
color: #33CCFF;
outline-style: none;
font-family: "Fira Sans Bold";
font-family: "Cantarell";
}
#lock {
@ -38,10 +38,6 @@ button:focus, button:active, button:hover {
background-image: image(url("/home/paul/.config/wlogout/icons/suspend.png"), url("/usr/local/share/wlogout/icons/suspend.png"));
}
#hibernate {
background-image: image(url("/home/paul/.config/wlogout/icons/hibernate.png"), url("/usr/local/share/wlogout/icons/hibernate.png"));
}
#shutdown {
background-image: image(url("/home/paul/.config/wlogout/icons/shutdown.png"), url("/usr/local/share/wlogout/icons/shutdown.png"));
}
@ -49,3 +45,7 @@ button:focus, button:active, button:hover {
#reboot {
background-image: image(url("/home/paul/.config/wlogout/icons/reboot.png"), url("/usr/local/share/wlogout/icons/reboot.png"));
}
#windows {
background-image: image(url("/home/paul/.config/wlogout/icons/windows.png"), url("/usr/local/share/wlogout/icons/windows.png"));
}

56
.zshrc
View File

@ -112,25 +112,23 @@ fi
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
# Reboot to Windows
reboot_windows()
{
windows_title=$(grep -i windows /boot/grub/grub.cfg | cut -d "'" -f 2)
sudo grub-reboot "$windows_title" && sudo reboot
}
alias reboot-windows='reboot_windows'
# Reboot to Windows (REPLACED WITH SCRIPT)
# reboot_windows()
# {
# windows_title=$(grep -i windows /boot/grub/grub.cfg | cut -d "'" -f 2)
# sudo grub-reboot "$windows_title" && sudo reboot
# }
# alias reboot-windows='reboot_windows'
# Command aliases
alias py=python3
alias ll="ls -lah"
# Custom scripts
export PATH="/Users/paul/Code/scripts:$PATH"
qrshow(){
qrencode $1 -o - | viu -
}
# Shortcuts
export ONEDRIVE="/Users/paul/Library/CloudStorage/OneDrive-Personal/"
export VSCODE_USER=~/Library/Application\ Support/Code/User
alias korrektur="$EDITOR /Volumes/pauls-dateien/uni/GBS\ Tutorjob/Y3/Korrektur"
alias sshconfig="$EDITOR ~/.ssh/config"
alias zshconfig="$EDITOR ~/.zshrc"
alias zshreload="source ~/.zshrc"
@ -142,6 +140,11 @@ alias wol=wakeonlan
alias ge=gnome-extensions
alias open="xdg-open"
alias lg="lazygit"
alias ccat="pygmentize -g -O style=monokai,linenos=1"
alias rm="echo Use the full path i.e. '/bin/rm', consider using: trash"
alias explain="gh copilot explain"
alias csv="csvlens"
alias wstmux="cd ~/code/wasteside/app && tmux new -A -s wasteside"
alias R="R --no-save"
@ -152,8 +155,9 @@ export PATH="/usr/local/opt/tcl-tk/bin:$PATH"
# autojump
[ -f /opt/homebrew/etc/profile.d/autojump.sh ] && . /opt/homebrew/etc/profile.d/autojump.sh
# vscode shortcuts
alias ws="cd ~/code/wasteside/app && code . && tmux new -A -s wasteside"
# ws shortcuts
alias wsproddb="psql -h ep-shiny-brook-a23l5gzv-pooler.eu-central-1.aws.neon.tech -d neondb -U neondb_owner"
alias wsdevdb="psql -h ep-bitter-queen-a2jgwcaj-pooler.eu-central-1.aws.neon.tech -d verceldb -U default"
# Fix ls colors for synology directories
LS_COLORS+=':ow=01;33'
@ -166,6 +170,16 @@ HISTFILE=~/.histfile
HISTSIZE=10000
SAVEHIST=10000
# Android tools
export ANDROID_SDK_ROOT="$HOME/.local/opt/android-sdk"
export ANDROID_HOME="$ANDROID_SDK_ROOT"
export PATH="$PATH:$ANDROID_SDK_ROOT/cmdline-tools/latest/bin"
export PATH="$PATH:$ANDROID_SDK_ROOT/build-tools/36.0.0/"
export PATH="$PATH:$ANDROID_SDK_ROOT/emulator"
# Unlock hyprlock
alias unlock=pkill -USR1 hyprlock
# zoxide
eval "$(zoxide init --cmd cd zsh)"
@ -176,7 +190,19 @@ export SDKMAN_DIR="$HOME/.sdkman"
# Yarn
export PATH="$HOME/.yarn/bin:$PATH"
# More path stuff
export PATH="$HOME/.local/bin:$PATH"
# pyenv stuff (make sure this is at the end of the file)
export PYENV_ROOT="$HOME/.pyenv"
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
eval "$(pyenv init -)"
#nvm
source /usr/share/nvm/init-nvm.sh
## [Completion]
## Completion scripts setup. Remove the following line to uninstall
[[ -f /home/paul/.dart-cli-completion/zsh-config.zsh ]] && . /home/paul/.dart-cli-completion/zsh-config.zsh || true
## [/Completion]