diff options
author | jdlugosz963 <jdlugosz963@gmail.com> | 2024-09-20 14:16:56 +0200 |
---|---|---|
committer | jdlugosz963 <jdlugosz963@gmail.com> | 2024-09-20 14:16:56 +0200 |
commit | 45bb0d11161b1c5077a1415eed6dbd0fd25ccb6a (patch) | |
tree | b564c1c43920def6641cd482a7b4dca453dbc043 /.config | |
parent | 07dd8e37eb767c3dd6abf63e5e4a720cd778da15 (diff) | |
download | dotfiles-45bb0d11161b1c5077a1415eed6dbd0fd25ccb6a.tar.gz dotfiles-45bb0d11161b1c5077a1415eed6dbd0fd25ccb6a.zip |
Change dotfiles structure, and add guix-channels declaration.
Diffstat (limited to '.config')
-rw-r--r-- | .config/dunst/dunstrc | 177 | ||||
-rw-r--r-- | .config/guix/.gitignore | 1 | ||||
-rwxr-xr-x | .config/guix/channels.scm | 10 | ||||
-rw-r--r-- | .config/picom/picom.conf | 117 | ||||
-rw-r--r-- | .config/polybar/config.ini | 122 | ||||
-rwxr-xr-x | .config/qtile/autorc | 31 | ||||
-rw-r--r-- | .config/qtile/config.py | 232 | ||||
-rwxr-xr-x | .config/qtile/mdt_shell | 1 | ||||
-rw-r--r-- | .config/qtile/photos/desktop.png | bin | 1555228 -> 0 bytes | |||
-rw-r--r-- | .config/qtile/python.png | bin | 52166 -> 0 bytes | |||
-rw-r--r-- | .config/qtile/readme.org | 5 | ||||
-rw-r--r-- | .config/sway/config | 193 | ||||
-rw-r--r-- | .config/waybar/config | 159 | ||||
-rw-r--r-- | .config/waybar/style.css | 205 |
14 files changed, 0 insertions, 1253 deletions
diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc deleted file mode 100644 index b3b93b6..0000000 --- a/.config/dunst/dunstrc +++ /dev/null | |||
@@ -1,177 +0,0 @@ | |||
1 | [global] | ||
2 | frame_width = 2 | ||
3 | frame_color = "#39bae6" | ||
4 | font = sourcecodepro | ||
5 | |||
6 | # Allow a small subset of html markup: | ||
7 | # <b>bold</b> | ||
8 | # <i>italic</i> | ||
9 | # <s>strikethrough</s> | ||
10 | # <u>underline</u> | ||
11 | # | ||
12 | # For a complete reference see | ||
13 | # <http://developer.gnome.org/pango/stable/PangoMarkupFormat.html>. | ||
14 | # If markup is not allowed, those tags will be stripped out of the | ||
15 | # message. | ||
16 | markup = yes | ||
17 | |||
18 | # The format of the message. Possible variables are: | ||
19 | # %a appname | ||
20 | # %s summary | ||
21 | # %b body | ||
22 | # %i iconname (including its path) | ||
23 | # %I iconname (without its path) | ||
24 | # %p progress value if set ([ 0%] to [100%]) or nothing | ||
25 | # Markup is allowed | ||
26 | format = "%s %p\n%b" | ||
27 | |||
28 | # Sort messages by urgency. | ||
29 | sort = yes | ||
30 | |||
31 | # Show how many messages are currently hidden (because of geometry). | ||
32 | indicate_hidden = yes | ||
33 | |||
34 | # Alignment of message text. | ||
35 | # Possible values are "left", "center" and "right". | ||
36 | alignment = left | ||
37 | |||
38 | # The frequency with wich text that is longer than the notification | ||
39 | # window allows bounces back and forth. | ||
40 | # This option conflicts with "word_wrap". | ||
41 | # Set to 0 to disable. | ||
42 | bounce_freq = 5 | ||
43 | |||
44 | |||
45 | # Show age of message if message is older than show_age_threshold | ||
46 | # seconds. | ||
47 | # Set to -1 to disable. | ||
48 | show_age_threshold = 60 | ||
49 | |||
50 | # Split notifications into multiple lines if they don't fit into | ||
51 | # geometry. | ||
52 | word_wrap = no | ||
53 | |||
54 | # Ignore newlines '\n' in notifications. | ||
55 | ignore_newline = no | ||
56 | |||
57 | |||
58 | # The geometry of the window: | ||
59 | # [{width}]x{height}[+/-{x}+/-{y}] | ||
60 | # The geometry of the message window. | ||
61 | # The height is measured in number of notifications everything else | ||
62 | # in pixels. If the width is omitted but the height is given | ||
63 | # ("-geometry x2"), the message window expands over the whole screen | ||
64 | # (dmenu-like). If width is 0, the window expands to the longest | ||
65 | # message displayed. A positive x is measured from the left, a | ||
66 | # negative from the right side of the screen. Y is measured from | ||
67 | # the top and down respectevly. | ||
68 | # The width can be negative. In this case the actual width is the | ||
69 | # screen width minus the width defined in within the geometry option. | ||
70 | geometry = "500x10-10+50" | ||
71 | |||
72 | # Shrink window if it's smaller than the width. Will be ignored if | ||
73 | # width is 0. | ||
74 | shrink = yes | ||
75 | |||
76 | # The transparency of the window. Range: [0; 100]. | ||
77 | # This option will only work if a compositing windowmanager is | ||
78 | # present (e.g. xcompmgr, compiz, etc.). | ||
79 | transparency = 15 | ||
80 | |||
81 | # Don't remove messages, if the user is idle (no mouse or keyboard input) | ||
82 | # for longer than idle_threshold seconds. | ||
83 | # Set to 0 to disable. | ||
84 | # default 120 | ||
85 | idle_threshold = 120 | ||
86 | |||
87 | # Which monitor should the notifications be displayed on. | ||
88 | monitor = 0 | ||
89 | |||
90 | # Display notification on focused monitor. Possible modes are: | ||
91 | # mouse: follow mouse pointer | ||
92 | # keyboard: follow window with keyboard focus | ||
93 | # none: don't follow anything | ||
94 | # | ||
95 | # "keyboard" needs a windowmanager that exports the | ||
96 | # _NET_ACTIVE_WINDOW property. | ||
97 | # This should be the case for almost all modern windowmanagers. | ||
98 | # | ||
99 | # If this option is set to mouse or keyboard, the monitor option | ||
100 | # will be ignored. | ||
101 | follow = mouse | ||
102 | |||
103 | # Should a notification popped up from history be sticky or timeout | ||
104 | # as if it would normally do. | ||
105 | sticky_history = yes | ||
106 | |||
107 | # Maximum amount of notifications kept in history | ||
108 | history_length = 20 | ||
109 | |||
110 | # Display indicators for URLs (U) and actions (A). | ||
111 | show_indicators = yes | ||
112 | |||
113 | # The height of a single line. If the height is smaller than the | ||
114 | # font height, it will get raised to the font height. | ||
115 | # This adds empty space above and under the text. | ||
116 | line_height = 0 | ||
117 | |||
118 | # Draw a line of "separator_height" pixel height between two | ||
119 | # notifications. | ||
120 | # Set to 0 to disable. | ||
121 | separator_height = 1 | ||
122 | |||
123 | # Padding between text and separator. | ||
124 | # padding = 8 | ||
125 | padding = 8 | ||
126 | |||
127 | # Horizontal padding. | ||
128 | horizontal_padding = 10 | ||
129 | |||
130 | # Define a color for the separator. | ||
131 | # possible values are: | ||
132 | # * auto: dunst tries to find a color fitting to the background; | ||
133 | # * foreground: use the same color as the foreground; | ||
134 | # * frame: use the same color as the frame; | ||
135 | # * anything else will be interpreted as a X color. | ||
136 | separator_color = #263238 | ||
137 | |||
138 | # Print a notification on startup. | ||
139 | # This is mainly for error detection, since dbus (re-)starts dunst | ||
140 | # automatically after a crash. | ||
141 | startup_notification = false | ||
142 | |||
143 | # dmenu path. | ||
144 | dmenu = /usr/bin/dmenu -p dunst: | ||
145 | |||
146 | # Browser for opening urls in context menu. | ||
147 | browser = palemoon | ||
148 | |||
149 | # Align icons left/right/off | ||
150 | icon_position = left | ||
151 | |||
152 | # Limit icons size. | ||
153 | max_icon_size=128 | ||
154 | |||
155 | [urgency_low] | ||
156 | # IMPORTANT: colors have to be defined in quotation marks. | ||
157 | # Otherwise the "#" and following would be interpreted as a comment. | ||
158 | background "#0d1017" | ||
159 | foreground = "#888888" | ||
160 | timeout = 10 | ||
161 | # Icon for notifications with low urgency, uncomment to enable | ||
162 | #icon = /path/to/icon | ||
163 | |||
164 | [urgency_normal] | ||
165 | background = "#1e2128" | ||
166 | foreground = "#ffffff" | ||
167 | timeout = 10 | ||
168 | # Icon for notifications with normal urgency, uncomment to enable | ||
169 | #icon = /path/to/icon | ||
170 | |||
171 | [urgency_critical] | ||
172 | background = "#900000" | ||
173 | foreground = "#ffffff" | ||
174 | frame_color = "#ff0000" | ||
175 | timeout = 0 | ||
176 | # Icon for notifications with critical urgency, uncomment to enable | ||
177 | #icon = /path/to/icon | ||
diff --git a/.config/guix/.gitignore b/.config/guix/.gitignore deleted file mode 100644 index 1f4ddec..0000000 --- a/.config/guix/.gitignore +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | current \ No newline at end of file | ||
diff --git a/.config/guix/channels.scm b/.config/guix/channels.scm deleted file mode 100755 index 0554922..0000000 --- a/.config/guix/channels.scm +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | (cons* (channel | ||
2 | (name 'nonguix) | ||
3 | (url "https://gitlab.com/nonguix/nonguix") | ||
4 | ;; Enable signature verification: | ||
5 | (introduction | ||
6 | (make-channel-introduction | ||
7 | "897c1a470da759236cc11798f4e0a5f7d4d59fbc" | ||
8 | (openpgp-fingerprint | ||
9 | "2A39 3FFF 68F4 EF7A 3D29 12AF 6F51 20A0 22FB B2D5")))) | ||
10 | %default-channels) | ||
diff --git a/.config/picom/picom.conf b/.config/picom/picom.conf deleted file mode 100644 index 0f3fe1d..0000000 --- a/.config/picom/picom.conf +++ /dev/null | |||
@@ -1,117 +0,0 @@ | |||
1 | # ____ _____ | ||
2 | # | _ \_ _| Derek Taylor (DistroTube) | ||
3 | # | | | || | http://www.youtube.com/c/DistroTube | ||
4 | # | |_| || | http://www.gitlab.com/dwt1/ | ||
5 | # |____/ |_| | ||
6 | # | ||
7 | # My config. Not much to see here; just some pretty standard stuff. | ||
8 | |||
9 | # Enabled client-side shadows on windows. Note desktop windows | ||
10 | # (windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow, | ||
11 | # unless explicitly requested using the wintypes option. | ||
12 | # | ||
13 | shadow = true; | ||
14 | |||
15 | # The blur radius for shadows, in pixels. (defaults to 12) | ||
16 | shadow-radius = 8; | ||
17 | |||
18 | # The opacity of shadows. (0.0 - 1.0, defaults to 0.75) | ||
19 | shadow-opacity = .6 | ||
20 | |||
21 | # The left offset for shadows, in pixels. (defaults to -15) | ||
22 | shadow-offset-x = -3; | ||
23 | |||
24 | # The top offset for shadows, in pixels. (defaults to -15) | ||
25 | shadow-offset-y = -3; | ||
26 | |||
27 | # Specify a list of conditions of windows that should have no shadow. | ||
28 | # | ||
29 | # examples: | ||
30 | # shadow-exclude = "n:e:Notification"; | ||
31 | # | ||
32 | # shadow-exclude = [] | ||
33 | shadow-exclude = [ | ||
34 | "name = 'Notification'", | ||
35 | "class_g = 'Conky'", | ||
36 | "class_g ?= 'Notify-osd'", | ||
37 | "class_g = 'Cairo-clock'", | ||
38 | "class_g = 'slop'", | ||
39 | "class_g = 'Polybar'", | ||
40 | "_GTK_FRAME_EXTENTS@:c" | ||
41 | ]; | ||
42 | |||
43 | |||
44 | # Fade windows in/out when opening/closing and when opacity changes, | ||
45 | # unless no-fading-openclose is used. | ||
46 | # fading = false | ||
47 | fading = true; | ||
48 | |||
49 | # Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028) | ||
50 | # fade-in-step = 0.028 | ||
51 | fade-in-step = 0.3; | ||
52 | |||
53 | # Opacity change between steps while fading out. (0.01 - 1.0, defaults to 0.03) | ||
54 | # fade-out-step = 0.03 | ||
55 | fade-out-step = 0.3; | ||
56 | |||
57 | # The time between steps in fade step, in milliseconds. (> 0, defaults to 10) | ||
58 | # fade-delta = 10 | ||
59 | |||
60 | # Specify a list of conditions of windows that should not be faded. | ||
61 | # don't need this, we disable fading for all normal windows with wintypes: {} | ||
62 | fade-exclude = [ | ||
63 | "class_g = 'slop'" # maim | ||
64 | ] | ||
65 | |||
66 | # Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0) | ||
67 | inactive-opacity = 0.9 | ||
68 | # inactive-opacity = 1.0; | ||
69 | |||
70 | # Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default) | ||
71 | # frame-opacity = 1.0 | ||
72 | frame-opacity = 0.7; | ||
73 | |||
74 | # Default opacity for dropdown menus and popup menus. (0.0 - 1.0, defaults to 1.0) | ||
75 | # menu-opacity = 1.0 | ||
76 | # menu-opacity is depreciated use dropdown-menu and popup-menu instead. | ||
77 | |||
78 | #If using these 2 below change their values in line 510 & 511 aswell | ||
79 | popup_menu = { opacity = 0.8; } | ||
80 | dropdown_menu = { opacity = 0.8; } | ||
81 | |||
82 | |||
83 | # Let inactive opacity set by -i override the '_NET_WM_OPACITY' values of windows. | ||
84 | # inactive-opacity-override = true | ||
85 | inactive-opacity-override = false; | ||
86 | |||
87 | # Default opacity for active windows. (0.0 - 1.0, defaults to 1.0) | ||
88 | active-opacity = 1.0; | ||
89 | |||
90 | # Dim inactive windows. (0.0 - 1.0, defaults to 0.0) | ||
91 | # inactive-dim = 0.0 | ||
92 | |||
93 | # Specify a list of conditions of windows that should always be considered focused. | ||
94 | # focus-exclude = [] | ||
95 | focus-exclude = [ | ||
96 | "class_g = 'Cairo-clock'", | ||
97 | "class_g = 'Bar'", # lemonbar | ||
98 | "class_g = 'slop'" # maim | ||
99 | ]; | ||
100 | |||
101 | opacity-rule = [ | ||
102 | "100:class_g = 'XTerm'", | ||
103 | "100:class_g = 'URxvt'", | ||
104 | "100:class_g = 'firefox'", | ||
105 | "100:class_g = 'Thunderbird'" | ||
106 | ]; | ||
107 | |||
108 | wintypes: | ||
109 | { | ||
110 | normal = { fade = false; shadow = true; } | ||
111 | tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; }; | ||
112 | dock = { shadow = false; } | ||
113 | dnd = { shadow = true; } | ||
114 | popup_menu = { opacity = 0.8; } | ||
115 | dropdown_menu = { opacity = 0.8; } | ||
116 | }; | ||
117 | |||
diff --git a/.config/polybar/config.ini b/.config/polybar/config.ini deleted file mode 100644 index d43ee51..0000000 --- a/.config/polybar/config.ini +++ /dev/null | |||
@@ -1,122 +0,0 @@ | |||
1 | [settings] | ||
2 | screenchange-reload = true | ||
3 | |||
4 | [colors] | ||
5 | background = ${xrdb:emacs.background} | ||
6 | foreground = ${xrdb:emacs.foreground} | ||
7 | primary = #7fd962 | ||
8 | disabled = #707880 | ||
9 | |||
10 | [bar/example] | ||
11 | width = 100% | ||
12 | height = 18pt | ||
13 | |||
14 | background = ${colors.background} | ||
15 | foreground = ${colors.foreground} | ||
16 | |||
17 | line-size = 1.5pt | ||
18 | |||
19 | padding-left = 0 | ||
20 | padding-right = 1 | ||
21 | |||
22 | module-margin = 1 | ||
23 | |||
24 | separator = | | ||
25 | separator-foreground = ${colors.disabled} | ||
26 | |||
27 | font-0 = "Terminus:size=15" | ||
28 | font-1 = "FontAwesome" | ||
29 | |||
30 | modules-left = xworkspaces | ||
31 | modules-right = memory cpu battery date | ||
32 | |||
33 | cursor-click = pointer | ||
34 | cursor-scroll = ns-resize | ||
35 | |||
36 | enable-ipc = true | ||
37 | |||
38 | tray-position = right | ||
39 | |||
40 | [module/xworkspaces] | ||
41 | type = internal/xworkspaces | ||
42 | |||
43 | icon-0 = 1;0 | ||
44 | icon-1 = 2;1 | ||
45 | icon-2 = 3;2 | ||
46 | icon-3 = 4;3 | ||
47 | icon-4 = 5;4 | ||
48 | icon-5 = 6;5 | ||
49 | icon-6 = 7;6 | ||
50 | icon-7 = 8;7 | ||
51 | icon-8 = 9;8 | ||
52 | icon-9 = 10;9 | ||
53 | |||
54 | label-active = %icon% | ||
55 | label-active-background = ${colors.background-alt} | ||
56 | label-active-underline= ${colors.primary} | ||
57 | label-active-padding = 1 | ||
58 | |||
59 | label-occupied = %icon% | ||
60 | label-occupied-padding = 1 | ||
61 | |||
62 | label-urgent = %icon% | ||
63 | label-urgent-background = ${colors.alert} | ||
64 | label-urgent-padding = 1 | ||
65 | |||
66 | label-empty = %icon% | ||
67 | label-empty-foreground = ${colors.disabled} | ||
68 | label-empty-padding = 1 | ||
69 | |||
70 | [module/battery] | ||
71 | type = internal/battery | ||
72 | battery = BAT0 | ||
73 | adapter = ADP1 | ||
74 | |||
75 | format-charging = <animation-charging> <label-charging> | ||
76 | format-discharging = <ramp-capacity> <label-discharging> | ||
77 | format-low = <ramp-capacity> <label-low> | ||
78 | format-full = <ramp-capacity> <label-full> | ||
79 | |||
80 | label-charging = %percentage%% | ||
81 | label-discharging = %percentage%% | ||
82 | label-low = LOW %percentage%% | ||
83 | label-full = FULL %percentage%% | ||
84 | |||
85 | ramp-capacity-0 = | ||
86 | ramp-capacity-1 = | ||
87 | ramp-capacity-2 = | ||
88 | ramp-capacity-3 = | ||
89 | ramp-capacity-4 = | ||
90 | ramp-capacity-foreground = ${colors.primary} | ||
91 | |||
92 | animation-charging-0 = | ||
93 | animation-charging-1 = | ||
94 | animation-charging-2 = | ||
95 | animation-charging-3 = | ||
96 | animation-charging-4 = | ||
97 | animation-charging-foreground = ${colors.primary} | ||
98 | animation-charging-framerate = 750 | ||
99 | |||
100 | [module/memory] | ||
101 | type = internal/memory | ||
102 | interval = 2 | ||
103 | format-prefix = "RAM " | ||
104 | format-prefix-foreground = ${colors.primary} | ||
105 | label = %percentage_used:2%% | ||
106 | |||
107 | [module/cpu] | ||
108 | type = internal/cpu | ||
109 | interval = 2 | ||
110 | format-prefix = "CPU " | ||
111 | format-prefix-foreground = ${colors.primary} | ||
112 | label = %percentage:2%% | ||
113 | |||
114 | [module/date] | ||
115 | type = internal/date | ||
116 | interval = 1 | ||
117 | |||
118 | date = %H:%M | ||
119 | date-alt = %Y-%m-%d %H:%M:%S | ||
120 | |||
121 | label = %date% | ||
122 | label-foreground = ${colors.primary} | ||
diff --git a/.config/qtile/autorc b/.config/qtile/autorc deleted file mode 100755 index c54f683..0000000 --- a/.config/qtile/autorc +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | #!/bin/bash | ||
2 | |||
3 | function monitor_settings() { | ||
4 | sleep .5 | ||
5 | monitor_status=$(xrandr | grep "HDMI-1-4 connected" | wc -l) | ||
6 | |||
7 | if [ $monitor_status == 1 ]; | ||
8 | then | ||
9 | # xrandr --auto | ||
10 | # xrandr --output eDP-1 --off | ||
11 | xrandr --output eDP-1-1 --auto --output HDMI-0 --auto --left-of eDP-1-1 | ||
12 | fi | ||
13 | } | ||
14 | |||
15 | function caps_to_esc(){ xmodmap -e 'clear Lock' -e 'keycode 0x42 = Escape'; } | ||
16 | |||
17 | function start() { | ||
18 | killall $1 | ||
19 | sleep .5 | ||
20 | $($1 $2) & | ||
21 | } | ||
22 | |||
23 | # monitor_settings | ||
24 | caps_to_esc | ||
25 | |||
26 | start nitrogen "--restore" | ||
27 | start picom "" | ||
28 | start spotifyd "" | ||
29 | start rclone "mount remote:/sync /home/jakub/Sync" | ||
30 | start emacs "--daemon" | ||
31 | xinput set-prop 11 344 1 | ||
diff --git a/.config/qtile/config.py b/.config/qtile/config.py deleted file mode 100644 index 9106731..0000000 --- a/.config/qtile/config.py +++ /dev/null | |||
@@ -1,232 +0,0 @@ | |||
1 | import os | ||
2 | import subprocess | ||
3 | |||
4 | from typing import List | ||
5 | |||
6 | from libqtile import bar, layout, widget | ||
7 | from libqtile.config import Click, Drag, Group, Key, Match, Screen, KeyChord | ||
8 | from libqtile import extension | ||
9 | from libqtile.lazy import lazy | ||
10 | from libqtile.utils import guess_terminal | ||
11 | from libqtile import hook | ||
12 | |||
13 | MOD = "mod4" | ||
14 | |||
15 | TERMINAL = guess_terminal() | ||
16 | |||
17 | DMENU_FLAGS = '-l 16 -p run -c -i' | ||
18 | |||
19 | BAR = '#282a36' | ||
20 | LIGHT_BAR = '#393b37' | ||
21 | YELLOW = '#f1fa8c' | ||
22 | RED = '#ff5555' | ||
23 | LIGHT_RED = '#ff9999' | ||
24 | GREEN = '#50fa7b' | ||
25 | CYAN = '#8be9fd' | ||
26 | LIGHT_CYAN = '#abfbff' | ||
27 | |||
28 | @hook.subscribe.startup_once | ||
29 | def autostart(): | ||
30 | home = os.path.expanduser('~/.config/qtile/autorc') | ||
31 | subprocess.run([home]) | ||
32 | |||
33 | keys = [ | ||
34 | Key([MOD], "h", lazy.layout.left(), desc="Move focus to left"), | ||
35 | Key([MOD], "l", lazy.layout.right(), desc="Move focus to right"), | ||
36 | Key([MOD], "j", lazy.layout.down(), desc="Move focus down"), | ||
37 | Key([MOD], "k", lazy.layout.up(), desc="Move focus up"), | ||
38 | Key([MOD], "s", lazy.next_screen() ), | ||
39 | Key([MOD], "space", lazy.window.toggle_floating(), | ||
40 | desc="Move window focus to other window"), | ||
41 | |||
42 | Key([MOD, "shift"], "h", lazy.layout.shuffle_left(), | ||
43 | desc="Move window to the left"), | ||
44 | Key([MOD, "shift"], "l", lazy.layout.shuffle_right(), | ||
45 | desc="Move window to the right"), | ||
46 | Key([MOD, "shift"], "j", lazy.layout.shuffle_down(), | ||
47 | desc="Move window down"), | ||
48 | Key([MOD, "shift"], "k", lazy.layout.shuffle_up(), desc="Move window up"), | ||
49 | |||
50 | Key([MOD, "control"], "h", lazy.layout.grow_left(), | ||
51 | desc="Grow window to the left"), | ||
52 | Key([MOD, "control"], "l", lazy.layout.grow_right(), | ||
53 | desc="Grow window to the right"), | ||
54 | Key([MOD, "control"], "j", lazy.layout.grow_down(), | ||
55 | desc="Grow window down"), | ||
56 | Key([MOD, "control"], "k", lazy.layout.grow_up(), desc="Grow window up"), | ||
57 | Key([MOD], "n", lazy.layout.normalize(), desc="Reset all window sizes"), | ||
58 | |||
59 | Key([MOD, "shift"], "Return", lazy.layout.toggle_split(), | ||
60 | desc="Toggle between split and unsplit sides of stack"), | ||
61 | Key([MOD], "Return", lazy.spawn(TERMINAL), desc="Launch terminal"), | ||
62 | |||
63 | Key([MOD], "Tab", lazy.next_layout(), desc="Toggle between layouts"), | ||
64 | Key([MOD], "c", lazy.window.kill(), desc="Kill focused window"), | ||
65 | |||
66 | Key([MOD, "control"], "r", lazy.restart(), desc="Restart Qtile"), | ||
67 | Key([MOD, "control"], "q", lazy.shutdown(), desc="Shutdown Qtile"), | ||
68 | |||
69 | Key([MOD], "F12", os.system("xbacklight -inc 10"), desc="Inc backlight"), | ||
70 | Key([MOD], "F11", os.system("xbacklight -dec 10"), desc="Dec backlight"), | ||
71 | |||
72 | Key([MOD], "r", lazy.spawncmd(), | ||
73 | desc="Spawn a command using a prompt widget"), | ||
74 | |||
75 | KeyChord([MOD], "p", [ | ||
76 | Key([], "p", lazy.spawn(f"dmenu_run {DMENU_FLAGS}"), desc="Spawn dmenu run"), | ||
77 | Key([], "n", lazy.spawn(f"networkmanager_dmenu {DMENU_FLAGS}"), desc="Spawn dmenu for network manager"), | ||
78 | ]), | ||
79 | |||
80 | Key([MOD, "mod1"], "q", lazy.spawn("qutebrowser"), desc="Spawn qutebrowser"), | ||
81 | Key([MOD, "mod1"], "b", lazy.spawn("brave"), desc="Spawn brave"), | ||
82 | Key([MOD, "mod1"], "f", lazy.spawn("firefox"), desc="Spawn firefox"), | ||
83 | |||
84 | KeyChord([MOD], "e", [ | ||
85 | Key([], "e", lazy.spawn("emacsclient -c -a 'emacs'"), desc="Spawn Emacsclient"), | ||
86 | Key([], "d", lazy.spawn("emacsclient -c -a 'emacs' --eval '(dired nil)'"), desc='Emacsclient Dired'), | ||
87 | Key([], "m", lazy.spawn("emacsclient -c -a 'emacs' --eval '(emms-browser)'"), desc='Emacsclient Dired'), | ||
88 | ]), | ||
89 | |||
90 | Key([MOD, "mod1"], "s", lazy.spawn("alacritty -e spt"), desc="Spawn spt (spotify clent)"), | ||
91 | Key([MOD, "mod1"], "l", lazy.spawn("slock"), desc="lock desktop"), | ||
92 | Key([MOD, "mod1"], "r", lazy.spawn("alacritty -e ranger"), desc="Spawn ranger (file manager)"), | ||
93 | Key([MOD, "mod1"], "p", lazy.spawn("alacritty -e pulsemixer"), desc="Spawn pulsemixer"), | ||
94 | ] | ||
95 | |||
96 | groups_names = [ | ||
97 | "dev", | ||
98 | "www", | ||
99 | "music", | ||
100 | "virt", | ||
101 | "sys", | ||
102 | "other" | ||
103 | ] | ||
104 | |||
105 | groups = [Group(i) for i in groups_names] | ||
106 | for i, group in enumerate(groups): | ||
107 | keys.extend([ | ||
108 | Key([MOD], str(i+1), lazy.group[group.name].toscreen(), | ||
109 | desc="Switch to group {}".format(group.name)), | ||
110 | |||
111 | Key([MOD, "shift"], str(i+1), lazy.window.togroup(group.name, switch_group=True), | ||
112 | desc="Switch to & move focused window to group {}".format(group.name)), | ||
113 | ]) | ||
114 | |||
115 | mouse = [ | ||
116 | Drag([MOD], "Button1", lazy.window.set_position_floating(), | ||
117 | start=lazy.window.get_position()), | ||
118 | Drag([MOD], "Button3", lazy.window.set_size_floating(), | ||
119 | start=lazy.window.get_size()), | ||
120 | Click([MOD], "Button2", lazy.window.bring_to_front()) | ||
121 | ] | ||
122 | |||
123 | layout_cfg = { | ||
124 | 'border_width': 2, | ||
125 | 'border_normal': "#bb8888", | ||
126 | 'border_focus': "884444", | ||
127 | 'margin': 8 | ||
128 | } | ||
129 | |||
130 | layouts = [ | ||
131 | # layout.Columns(**layout_cfg), | ||
132 | # layout.Max(), | ||
133 | layout.Stack(num_stacks=1, **layout_cfg), | ||
134 | # layout.Bsp(), | ||
135 | # layout.Matrix(), | ||
136 | layout.MonadTall(**layout_cfg), | ||
137 | # layout.MonadWide(), | ||
138 | # layout.RatioTile(), | ||
139 | # layout.Tile(), | ||
140 | # layout.TreeTab(), | ||
141 | # layout.VerticalTile(), | ||
142 | # layout.Zoomy(), | ||
143 | ] | ||
144 | |||
145 | widget_defaults = dict( | ||
146 | font='sans', | ||
147 | fontsize=12, | ||
148 | padding=6, | ||
149 | ) | ||
150 | |||
151 | transparent_sep = { | ||
152 | 'foreground': BAR, | ||
153 | 'margin': 2 | ||
154 | } | ||
155 | |||
156 | soft_sep = { | ||
157 | 'foreground': '44475a', | ||
158 | 'padding': 2, | ||
159 | 'margin': 4 | ||
160 | } | ||
161 | |||
162 | screens = [ | ||
163 | Screen( | ||
164 | top=bar.Bar( | ||
165 | [ | ||
166 | widget.Sep(**transparent_sep), | ||
167 | widget.Image(filename="~/.config/qtile/python.png", margin=4), | ||
168 | widget.Sep(**transparent_sep), | ||
169 | widget.CurrentLayout(), | ||
170 | widget.Sep(**transparent_sep), | ||
171 | widget.GroupBox( | ||
172 | margin_y = 3, | ||
173 | margin_x = 0, | ||
174 | padding_y = 5, | ||
175 | padding_x = 3, | ||
176 | borderwidth = 3, | ||
177 | rounded = False, | ||
178 | highlight_color = LIGHT_BAR, | ||
179 | highlight_method = "line", | ||
180 | this_current_screen_border = CYAN, | ||
181 | this_screen_border = CYAN, | ||
182 | other_current_screen_border = LIGHT_BAR, | ||
183 | other_screen_border = LIGHT_BAR, | ||
184 | ), | ||
185 | widget.Prompt(), | ||
186 | widget.Sep(**transparent_sep), | ||
187 | widget.WindowName(), | ||
188 | widget.Net(format="🌐 ↓{down} ↑{up}", foreground=YELLOW), | ||
189 | widget.Sep(**soft_sep), | ||
190 | widget.CPU(format='💻 {load_percent}%', fontsize=12, foreground=RED), | ||
191 | widget.Sep(**soft_sep), | ||
192 | widget.Battery(format='🔋 {char} {percent:2.0%} {hour:d}:{min:02d} {watt:.2f} W', foreground=GREEN), | ||
193 | widget.Sep(**soft_sep), | ||
194 | widget.Clock(format='📅 %B %-d, %H:%M', foreground=CYAN), | ||
195 | widget.Sep(**soft_sep), | ||
196 | widget.CurrentScreen(), | ||
197 | widget.Sep(**soft_sep), | ||
198 | widget.Systray() | ||
199 | ], | ||
200 | 24, | ||
201 | margin=8, | ||
202 | background=BAR, | ||
203 | border_color=CYAN, | ||
204 | border_width=1 | ||
205 | ), | ||
206 | ), | ||
207 | ] | ||
208 | |||
209 | floating_layout = layout.Floating(float_rules=[ | ||
210 | # Run the utility of `xprop` to see the wm class and name of an X client. | ||
211 | *layout.Floating.default_float_rules, | ||
212 | Match(wm_class='confirmreset'), # gitk | ||
213 | Match(wm_class='makebranch'), # gitk | ||
214 | Match(wm_class='maketag'), # gitk | ||
215 | Match(wm_class='ssh-askpass'), # ssh-askpass | ||
216 | Match(title='branchdialog'), # gitk | ||
217 | Match(title='pinentry'), # GPG key password entry | ||
218 | ]) | ||
219 | |||
220 | dgroups_key_binder = None | ||
221 | dgroups_app_rules = [] | ||
222 | |||
223 | follow_mouse_focus = True | ||
224 | bring_front_click = False | ||
225 | cursor_warp = False | ||
226 | auto_fullscreen = True | ||
227 | focus_on_window_activation = "smart" | ||
228 | reconfigure_screens = True | ||
229 | |||
230 | auto_minimize = True | ||
231 | |||
232 | wmname = "LG3D" | ||
diff --git a/.config/qtile/mdt_shell b/.config/qtile/mdt_shell deleted file mode 100755 index 90fa6f3..0000000 --- a/.config/qtile/mdt_shell +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | TERM=xterm-256color /home/jakub/.local/bin/mdt shell | ||
diff --git a/.config/qtile/photos/desktop.png b/.config/qtile/photos/desktop.png deleted file mode 100644 index 8fca190..0000000 --- a/.config/qtile/photos/desktop.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/.config/qtile/python.png b/.config/qtile/python.png deleted file mode 100644 index 9a4b1ed..0000000 --- a/.config/qtile/python.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/.config/qtile/readme.org b/.config/qtile/readme.org deleted file mode 100644 index 235dd47..0000000 --- a/.config/qtile/readme.org +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | #+title: Config | ||
2 | |||
3 | * Qtile conifg | ||
4 | - My personal qtile config ;) | ||
5 | [[./photos/desktop.png]] | ||
diff --git a/.config/sway/config b/.config/sway/config deleted file mode 100644 index 2807f08..0000000 --- a/.config/sway/config +++ /dev/null | |||
@@ -1,193 +0,0 @@ | |||
1 | set $mod Mod4 | ||
2 | |||
3 | set $left h | ||
4 | set $down j | ||
5 | set $up k | ||
6 | set $right l | ||
7 | |||
8 | set $term alacritty | ||
9 | set $emacs emacsclient -c | ||
10 | set $menu fuzzel -r0 -b 282828f2 -C 458588f2 -B 3 -s 458588f2 -S 282828FF --font "Terminus:size=12" -p "run: " | ||
11 | |||
12 | set $laptop-display eDP-1 | ||
13 | set $generic-display HDMI-A-1 | ||
14 | set $primary-home-display 'Iiyama North America PLE2407HDSD 0x01010101' | ||
15 | set $secondary-home-display 'Dell Inc. DELL E190S M8VPV186CELI' | ||
16 | |||
17 | set $primary-display-layout $primary-home-display $generic-display $laptop-display | ||
18 | set $secondary-display-layout $secondary-home-display $laptop-display | ||
19 | |||
20 | output * bg SPOILER_33.png fill | ||
21 | |||
22 | output $laptop-display resolution 1920x1080 position 1920,0 | ||
23 | output $generic-display resolution 1920x1080 position 0,0 | ||
24 | output $primary-home-display resolution 1920x1080 position 0,0 | ||
25 | output $secondary-home-display resolution 1280x1024 position 1920,0 | ||
26 | set $opacity 0.9 | ||
27 | |||
28 | client.focused #002b36 #586e75 #eee8d5 #268bd2 | ||
29 | client.focused_inactive #002b36 #073642 #93a1a1 #268bd2 | ||
30 | client.unfocused #002b36 #073642 #93a1a1 #268bd2 | ||
31 | client.urgent #002b36 #dc322f #fdf6e3 #002b36 | ||
32 | |||
33 | input type:keyboard { | ||
34 | xkb_layout pl,us | ||
35 | } | ||
36 | |||
37 | input type:touchpad { | ||
38 | tap enabled | ||
39 | middle_emulation enabled | ||
40 | } | ||
41 | |||
42 | bindsym $mod+Shift+s output $laptop-display toggle | ||
43 | |||
44 | set $swaylock 'swaylock -f -c 000000 --font "Terminus"' | ||
45 | exec swayidle -w \ | ||
46 | timeout 280 $swaylock \ | ||
47 | timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \ | ||
48 | before-sleep $swaylock | ||
49 | |||
50 | # inhibit_idle fullscreen | ||
51 | |||
52 | bindsym $mod+Escape exec $swaylock | ||
53 | |||
54 | bindsym XF86MonBrightnessUp exec brightnessctl set 5%+ | ||
55 | bindsym XF86MonBrightnessDown exec brightnessctl set 5%- | ||
56 | |||
57 | bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle | ||
58 | bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5% | ||
59 | bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5% | ||
60 | |||
61 | bindsym XF86AudioNext exec playerctl next | ||
62 | bindsym XF86AudioPrev exec playerctl previous | ||
63 | bindsym XF86AudioPlay exec playerctl play-pause | ||
64 | bindsym XF86AudioPause exec playerctl pause | ||
65 | |||
66 | bindsym print exec grimshot --notify copy area | ||
67 | bindsym $mod+print exec grimshot --notify copy output | ||
68 | |||
69 | bindsym $mod+Return exec $term | ||
70 | |||
71 | bindsym $mod+Shift+q kill | ||
72 | |||
73 | floating_modifier $mod normal | ||
74 | |||
75 | bindsym $mod+Shift+c reload | ||
76 | bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit' | ||
77 | |||
78 | bindsym $mod+$left focus left | ||
79 | bindsym $mod+$down focus down | ||
80 | bindsym $mod+$up focus up | ||
81 | bindsym $mod+$right focus right | ||
82 | |||
83 | bindsym $mod+Shift+$left move left | ||
84 | bindsym $mod+Shift+$down move down | ||
85 | bindsym $mod+Shift+$up move up | ||
86 | bindsym $mod+Shift+$right move right | ||
87 | |||
88 | workspace 1 output $primary-display-layout | ||
89 | workspace 2 output $primary-display-layout | ||
90 | workspace 3 output $secondary-display-layout | ||
91 | workspace 4 output $secondary-display-layout | ||
92 | workspace 9 output $primary-display-layout | ||
93 | workspace 10 output $secondary-display-layout | ||
94 | |||
95 | bindsym $mod+1 workspace number 1 | ||
96 | bindsym $mod+2 workspace number 2 | ||
97 | bindsym $mod+3 workspace number 3 | ||
98 | bindsym $mod+4 workspace number 4 | ||
99 | bindsym $mod+5 workspace number 5 | ||
100 | bindsym $mod+6 workspace number 6 | ||
101 | bindsym $mod+7 workspace number 7 | ||
102 | bindsym $mod+8 workspace number 8 | ||
103 | bindsym $mod+9 workspace number 9 | ||
104 | bindsym $mod+0 workspace number 10 | ||
105 | |||
106 | bindsym $mod+Shift+1 move container to workspace number 1 | ||
107 | bindsym $mod+Shift+2 move container to workspace number 2 | ||
108 | bindsym $mod+Shift+3 move container to workspace number 3 | ||
109 | bindsym $mod+Shift+4 move container to workspace number 4 | ||
110 | bindsym $mod+Shift+5 move container to workspace number 5 | ||
111 | bindsym $mod+Shift+6 move container to workspace number 6 | ||
112 | bindsym $mod+Shift+7 move container to workspace number 7 | ||
113 | bindsym $mod+Shift+8 move container to workspace number 8 | ||
114 | bindsym $mod+Shift+9 move container to workspace number 9 | ||
115 | bindsym $mod+Shift+0 move container to workspace number 10 | ||
116 | |||
117 | assign [app_id="(firefox-default|qutebrowser|Chromium-browser)"] 2 | ||
118 | assign [instance="(chromium-browser)"] 2 | ||
119 | assign [instance="(spotify)"] 3 | ||
120 | assign [app_id=".blueman-manager-real"] 3 | ||
121 | assign [app_id="pavucontrol"] 3 | ||
122 | assign [app_id="(org.telegram.desktop)"] 4 | ||
123 | assign [app_id="vesktop"] 4 | ||
124 | assign [app_id="com.ktechpit.whatsie"] 4 | ||
125 | assign [instance="(discord)"] 4 | ||
126 | |||
127 | for_window [app_id="vesktop"] opacity $opacity | ||
128 | |||
129 | |||
130 | bindsym $mod+b splith | ||
131 | bindsym $mod+v splitv | ||
132 | |||
133 | bindsym $mod+s layout stacking | ||
134 | bindsym $mod+w layout tabbed | ||
135 | bindsym $mod+e layout toggle split | ||
136 | |||
137 | bindsym $mod+f fullscreen | ||
138 | bindsym $mod+Shift+space floating toggle | ||
139 | bindsym $mod+space focus mode_toggle | ||
140 | bindsym $mod+a focus parent | ||
141 | |||
142 | bindsym $mod+Shift+minus move scratchpad | ||
143 | bindsym $mod+minus scratchpad show | ||
144 | |||
145 | mode "resize" { | ||
146 | bindsym $left resize shrink width 10px | ||
147 | bindsym $down resize grow height 10px | ||
148 | bindsym $up resize shrink height 10px | ||
149 | bindsym $right resize grow width 10px | ||
150 | |||
151 | bindsym Return mode "default" | ||
152 | bindsym Control+g mode "default" | ||
153 | bindsym Escape mode "default" | ||
154 | } | ||
155 | bindsym $mod+r mode "resize" | ||
156 | |||
157 | set $default swaymsg mode default | ||
158 | mode "menu" { | ||
159 | bindsym --no-repeat e exec '$default; $emacs;' | ||
160 | bindsym --no-repeat w exec "$default; whois-at-hsp -n" | ||
161 | |||
162 | bindsym Return mode "default" | ||
163 | bindsym Control+g mode "default" | ||
164 | bindsym Escape mode "default" | ||
165 | |||
166 | } | ||
167 | bindsym $mod+o mode "menu" | ||
168 | |||
169 | |||
170 | workspace_layout tabbed | ||
171 | |||
172 | default_border normal 3 | ||
173 | gaps outer 0 | ||
174 | gaps inner 6 | ||
175 | font Terminus (TTF) 12 | ||
176 | corner_radius 4 | ||
177 | blur_xray disable | ||
178 | blur enable | ||
179 | layer_effects "waybar" blur enable | ||
180 | bindsym $mod+p exec $menu | ||
181 | |||
182 | |||
183 | # Taken from dawivil dotfiles. | ||
184 | exec dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway | ||
185 | |||
186 | # exec udiskie -t | ||
187 | exec mako --font "Terminus (TTF)" --outer-margin=5 --margin=3 --border-size=3 --default-timeout=7000 --background="#282828e0" | ||
188 | |||
189 | exec nm-applet --indicator | ||
190 | exec blueman-applet | ||
191 | exec waybar | ||
192 | exec udiskie -t | ||
193 | exec wlsunset -l 51.919438 -L 19.145136 | ||
diff --git a/.config/waybar/config b/.config/waybar/config deleted file mode 100644 index 5ebee30..0000000 --- a/.config/waybar/config +++ /dev/null | |||
@@ -1,159 +0,0 @@ | |||
1 | { | ||
2 | "layer": "top", | ||
3 | "position": "top", | ||
4 | |||
5 | "modules-left": [ | ||
6 | "sway/workspaces", | ||
7 | "sway/mode" | ||
8 | ], | ||
9 | |||
10 | "modules-right": [ | ||
11 | // "custom/whois", | ||
12 | "pulseaudio", | ||
13 | "network", | ||
14 | "memory", | ||
15 | "cpu", | ||
16 | "temperature", | ||
17 | "battery", | ||
18 | "sway/language", | ||
19 | "clock#date", | ||
20 | "clock#time", | ||
21 | "idle_inhibitor", | ||
22 | "tray" | ||
23 | ], | ||
24 | |||
25 | // Modules | ||
26 | "idle_inhibitor": { | ||
27 | "format": "{icon}", | ||
28 | "format-icons": { | ||
29 | "activated": "", | ||
30 | "deactivated": "" | ||
31 | } | ||
32 | }, | ||
33 | |||
34 | "battery": { | ||
35 | "interval": 10, | ||
36 | "states": { | ||
37 | "warning": 30, | ||
38 | "critical": 15 | ||
39 | }, | ||
40 | "format-time": "{H}:{M:02}", | ||
41 | "format": "{icon} {capacity}% ({time})", | ||
42 | "format-charging": " {capacity}% ({time})", | ||
43 | "format-charging-full": " {capacity}%", | ||
44 | "format-full": "{icon} {capacity}%", | ||
45 | "format-alt": "{icon} {power}W", | ||
46 | "format-icons": [ | ||
47 | "", | ||
48 | "", | ||
49 | "", | ||
50 | "", | ||
51 | "" | ||
52 | ], | ||
53 | "tooltip": false | ||
54 | }, | ||
55 | |||
56 | "clock#time": { | ||
57 | "interval": 10, | ||
58 | "format": "{:%H:%M}", | ||
59 | "tooltip": false | ||
60 | }, | ||
61 | |||
62 | "clock#date": { | ||
63 | "interval": 20, | ||
64 | "format": " {:%e %b %Y}", | ||
65 | "tooltip": false | ||
66 | //"tooltip-format": "{:%e %B %Y}" | ||
67 | }, | ||
68 | |||
69 | "cpu": { | ||
70 | "interval": 5, | ||
71 | "tooltip": false, | ||
72 | "format": " {usage}%", | ||
73 | "format-alt": " {load}", | ||
74 | "states": { | ||
75 | "warning": 70, | ||
76 | "critical": 90 | ||
77 | } | ||
78 | }, | ||
79 | |||
80 | "sway/language": { | ||
81 | "format": " {}", | ||
82 | "min-length": 5, | ||
83 | "on-click": "swaymsg 'input * xkb_switch_layout next'", | ||
84 | "tooltip": false | ||
85 | }, | ||
86 | |||
87 | "memory": { | ||
88 | "interval": 5, | ||
89 | "format": " {used:0.1f}G/{total:0.1f}G", | ||
90 | "states": { | ||
91 | "warning": 70, | ||
92 | "critical": 90 | ||
93 | }, | ||
94 | "tooltip": false | ||
95 | }, | ||
96 | |||
97 | "network": { | ||
98 | "interval": 5, | ||
99 | "format-wifi": " {essid} ({signalStrength}%)", | ||
100 | "format-ethernet": " {ifname}", | ||
101 | "format-disconnected": "No connection", | ||
102 | "format-alt": " {ipaddr}/{cidr}", | ||
103 | "tooltip": false | ||
104 | }, | ||
105 | |||
106 | "sway/mode": { | ||
107 | "format": "{}", | ||
108 | "tooltip": false | ||
109 | }, | ||
110 | |||
111 | "sway/window": { | ||
112 | "format": "{}", | ||
113 | "max-length": 30, | ||
114 | "tooltip": false | ||
115 | }, | ||
116 | |||
117 | "sway/workspaces": { | ||
118 | "disable-scroll-wraparound": true, | ||
119 | "smooth-scrolling-threshold": 4, | ||
120 | "enable-bar-scroll": true, | ||
121 | "format": "{name}" | ||
122 | }, | ||
123 | |||
124 | "pulseaudio": { | ||
125 | "format": "{icon} {volume}%", | ||
126 | "format-bluetooth": "{icon} {volume}%", | ||
127 | "format-muted": "", | ||
128 | "format-icons": { | ||
129 | "headphone": "", | ||
130 | "hands-free": "", | ||
131 | "headset": "", | ||
132 | "phone": "", | ||
133 | "portable": "", | ||
134 | "car": "", | ||
135 | "default": ["", ""] | ||
136 | }, | ||
137 | "scroll-step": 1, | ||
138 | "on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle", | ||
139 | "tooltip": false | ||
140 | }, | ||
141 | |||
142 | "temperature": { | ||
143 | "critical-threshold": 90, | ||
144 | "interval": 5, | ||
145 | "format": "{icon} {temperatureC}°", | ||
146 | "format-icons": [ | ||
147 | "", | ||
148 | "", | ||
149 | "", | ||
150 | "", | ||
151 | "" | ||
152 | ], | ||
153 | "tooltip": false | ||
154 | }, | ||
155 | |||
156 | "tray": { | ||
157 | "icon-size": 18, | ||
158 | } | ||
159 | } | ||
diff --git a/.config/waybar/style.css b/.config/waybar/style.css deleted file mode 100644 index 53d732b..0000000 --- a/.config/waybar/style.css +++ /dev/null | |||
@@ -1,205 +0,0 @@ | |||
1 | /* Keyframes */ | ||
2 | |||
3 | @keyframes blink-critical { | ||
4 | to { | ||
5 | /*color: @white;*/ | ||
6 | background-color: @critical; | ||
7 | } | ||
8 | } | ||
9 | |||
10 | |||
11 | /* Styles */ | ||
12 | |||
13 | /* Colors (gruvbox) */ | ||
14 | @define-color black #073642; | ||
15 | @define-color red #dc322f; | ||
16 | @define-color green #859900; | ||
17 | @define-color yellow #b58900; | ||
18 | @define-color blue #268bd2; | ||
19 | @define-color purple #d33682; | ||
20 | @define-color aqua #00afaf; | ||
21 | @define-color gray #1c1c1c; | ||
22 | @define-color brgray #928374; | ||
23 | @define-color brred #cb4b16; | ||
24 | @define-color brgreen #586e75; | ||
25 | @define-color bryellow #657b83; | ||
26 | @define-color brblue #839496; | ||
27 | @define-color brpurple #6c71c4; | ||
28 | @define-color braqua #93a1a1; | ||
29 | @define-color white #eee8d5; | ||
30 | @define-color bg1 #073642; | ||
31 | @define-color bg2 #002b36; | ||
32 | |||
33 | |||
34 | @define-color warning @bryellow; | ||
35 | @define-color critical @red; | ||
36 | @define-color mode @bg2; | ||
37 | @define-color unfocused @bg2; | ||
38 | @define-color focused @blue; | ||
39 | @define-color inactive @purple; | ||
40 | @define-color sound @green; | ||
41 | @define-color network @yellow; | ||
42 | @define-color memory @aqua; | ||
43 | @define-color cpu @blue; | ||
44 | @define-color temp @brpurple; | ||
45 | @define-color layout @green; | ||
46 | @define-color battery @yellow; | ||
47 | @define-color date @aqua; | ||
48 | @define-color time @bg2; | ||
49 | @define-color tray @bg2; | ||
50 | |||
51 | /* Reset all styles */ | ||
52 | * { | ||
53 | border: none; | ||
54 | border-radius: 0; | ||
55 | min-height: 0; | ||
56 | margin: 0; | ||
57 | padding: 0; | ||
58 | box-shadow: none; | ||
59 | text-shadow: none; | ||
60 | icon-shadow: none; | ||
61 | } | ||
62 | |||
63 | /* The whole bar */ | ||
64 | #waybar { | ||
65 | background: @bg2; | ||
66 | color: @white; | ||
67 | font-family: "Terminus (TTF)", FontAwesome; | ||
68 | font-size: 12pt; | ||
69 | } | ||
70 | |||
71 | /* Each module */ | ||
72 | #battery, | ||
73 | #clock, | ||
74 | #cpu, | ||
75 | #language, | ||
76 | #memory, | ||
77 | #mode, | ||
78 | #network, | ||
79 | #pulseaudio, | ||
80 | #temperature, | ||
81 | #tray, | ||
82 | #backlight, | ||
83 | #idle_inhibitor, | ||
84 | #disk, | ||
85 | #user, | ||
86 | #mpris { | ||
87 | padding-left: 8pt; | ||
88 | padding-right: 8pt; | ||
89 | } | ||
90 | |||
91 | /* Each critical module */ | ||
92 | #memory.critical, | ||
93 | #cpu.critical, | ||
94 | #temperature.critical, | ||
95 | #battery.critical.discharging { | ||
96 | animation-timing-function: linear; | ||
97 | animation-iteration-count: infinite; | ||
98 | animation-direction: alternate; | ||
99 | animation-name: blink-critical; | ||
100 | animation-duration: 1s; | ||
101 | } | ||
102 | |||
103 | /* Each warning */ | ||
104 | #network.disconnected, | ||
105 | #memory.warning, | ||
106 | #cpu.warning, | ||
107 | #temperature.warning, | ||
108 | #battery.warning.discharging { | ||
109 | color: @warning; | ||
110 | } | ||
111 | |||
112 | /* And now modules themselves in their respective order */ | ||
113 | |||
114 | /* Current sway mode (resize etc) */ | ||
115 | #mode { | ||
116 | color: @white; | ||
117 | background: @mode; | ||
118 | } | ||
119 | |||
120 | /* Workspaces stuff */ | ||
121 | #workspaces button { | ||
122 | /*font-weight: bold;*/ | ||
123 | padding-left: 2pt; | ||
124 | padding-right: 2pt; | ||
125 | color: @white; | ||
126 | background: @unfocused; | ||
127 | } | ||
128 | |||
129 | /* Inactive (on unfocused output) */ | ||
130 | #workspaces button.visible { | ||
131 | color: @white; | ||
132 | background: @inactive; | ||
133 | } | ||
134 | |||
135 | /* Active (on focused output) */ | ||
136 | #workspaces button.focused { | ||
137 | color: @black; | ||
138 | background: @focused; | ||
139 | } | ||
140 | |||
141 | /* Contains an urgent window */ | ||
142 | #workspaces button.urgent { | ||
143 | color: @black; | ||
144 | background: @warning; | ||
145 | } | ||
146 | |||
147 | /* Style when cursor is on the button */ | ||
148 | #workspaces button:hover { | ||
149 | background: @black; | ||
150 | color: @white; | ||
151 | } | ||
152 | |||
153 | #window { | ||
154 | margin-right: 35pt; | ||
155 | margin-left: 35pt; | ||
156 | } | ||
157 | |||
158 | #pulseaudio { | ||
159 | background: @sound; | ||
160 | color: @black; | ||
161 | } | ||
162 | |||
163 | #network { | ||
164 | background: @network; | ||
165 | color: @white; | ||
166 | } | ||
167 | |||
168 | #memory { | ||
169 | background: @memory; | ||
170 | color: @black; | ||
171 | } | ||
172 | |||
173 | #cpu { | ||
174 | background: @cpu; | ||
175 | color: @white; | ||
176 | } | ||
177 | |||
178 | #temperature { | ||
179 | background: @temp; | ||
180 | color: @black; | ||
181 | } | ||
182 | |||
183 | #language { | ||
184 | background: @layout; | ||
185 | color: @black; | ||
186 | } | ||
187 | |||
188 | #battery { | ||
189 | background: @battery; | ||
190 | color: @white; | ||
191 | } | ||
192 | |||
193 | #tray { | ||
194 | background: @tray; | ||
195 | } | ||
196 | |||
197 | #clock.date { | ||
198 | background: @date; | ||
199 | color: @black; | ||
200 | } | ||
201 | |||
202 | #clock.time { | ||
203 | background: @time; | ||
204 | color: @white; | ||
205 | } | ||