diff options
author | clarkzjw <[email protected]> | 2023-01-12 10:16:47 -0800 |
---|---|---|
committer | clarkzjw <[email protected]> | 2023-01-12 10:16:47 -0800 |
commit | 319d5e31ecaee138833583291c550794abe7e20c (patch) | |
tree | 51e3a6c0096f2056c5d8a5950c3986c351b40339 /dot_config | |
parent | 6689b3ce97a04f23e2d033e161c4a3a80b78b9e1 (diff) | |
download | dotfiles-319d5e31ecaee138833583291c550794abe7e20c.tar.gz |
i3
Diffstat (limited to 'dot_config')
-rw-r--r-- | dot_config/i3/config | 82 | ||||
-rw-r--r-- | dot_config/i3/scripts/executable_powermenu | 6 |
2 files changed, 16 insertions, 72 deletions
diff --git a/dot_config/i3/config b/dot_config/i3/config index cbed1b0..ef0c15b 100644 --- a/dot_config/i3/config +++ b/dot_config/i3/config | |||
@@ -283,16 +283,21 @@ bindsym $mod+Shift+p exec --no-startup-id ~/.config/i3/scripts/power-profiles | |||
283 | 283 | ||
284 | # Define names for default workspaces for which we configure key bindings later on. | 284 | # Define names for default workspaces for which we configure key bindings later on. |
285 | # We use variables to avoid repeating the names in multiple places. | 285 | # We use variables to avoid repeating the names in multiple places. |
286 | set $ws1 "1:" | 286 | #set $ws1 "1:" |
287 | set $ws2 "2:" | 287 | #set $ws2 "2:" |
288 | set $ws3 "3:" | 288 | #set $ws3 "3:" |
289 | set $ws4 "4:" | 289 | #set $ws4 "4:" |
290 | set $ws5 "5:" | 290 | #set $ws5 "5:" |
291 | |||
292 | set $ws1 "1" | ||
293 | set $ws2 "2" | ||
294 | set $ws3 "3" | ||
295 | set $ws4 "4" | ||
296 | set $ws5 "5" | ||
291 | set $ws6 "6" | 297 | set $ws6 "6" |
292 | set $ws7 "7" | 298 | set $ws7 "7" |
293 | set $ws8 "8" | 299 | set $ws8 "8" |
294 | set $ws9 "9" | 300 | set $ws9 "9" |
295 | set $ws10 "10" | ||
296 | 301 | ||
297 | # bind program to workspace and focus to them on startup: | 302 | # bind program to workspace and focus to them on startup: |
298 | #assign [class="Xfce4-terminal"] $ws1 | 303 | #assign [class="Xfce4-terminal"] $ws1 |
@@ -393,7 +398,7 @@ exec --no-startup-id dunst --config ~/.config/dunst/dunstrc | |||
393 | #exec_always --no-startup-id autotiling | 398 | #exec_always --no-startup-id autotiling |
394 | 399 | ||
395 | # Autostart apps as you like | 400 | # Autostart apps as you like |
396 | exec --no-startup-id sleep 5 && thunderbird | 401 | #exec --no-startup-id sleep 5 && thunderbird |
397 | 402 | ||
398 | ################## | 403 | ################## |
399 | # floating rules # | 404 | # floating rules # |
@@ -484,69 +489,6 @@ bar { | |||
484 | } | 489 | } |
485 | } | 490 | } |
486 | 491 | ||
487 | |||
488 | bar { | ||
489 | font pango: Noto Sans Regular 11 | ||
490 | status_command i3blocks -c ~/.config/i3/i3blocks.conf | ||
491 | position bottom | ||
492 | i3bar_command i3bar | ||
493 | output DP-3 | ||
494 | tray_output primary | ||
495 | tray_padding 0 | ||
496 | strip_workspace_numbers no | ||
497 | |||
498 | colors { | ||
499 | separator $purple | ||
500 | background $darkgrey | ||
501 | statusline $white | ||
502 | focused_workspace $mediumgrey $grey $darkgrey $purple | ||
503 | active_workspace $lightblue $mediumgrey $darkgrey $purple | ||
504 | inactive_workspace $darkgrey $darkgrey $grey $purple | ||
505 | urgent_workspace $urgentred $urgentred $white $purple | ||
506 | } | ||
507 | } | ||
508 | |||
509 | bar { | ||
510 | font pango: Noto Sans Regular 11 | ||
511 | status_command i3blocks -c ~/.config/i3/i3blocks.conf | ||
512 | position bottom | ||
513 | i3bar_command i3bar | ||
514 | output DP-4 | ||
515 | tray_output primary | ||
516 | tray_padding 0 | ||
517 | strip_workspace_numbers no | ||
518 | |||
519 | colors { | ||
520 | separator $purple | ||
521 | background $darkgrey | ||
522 | statusline $white | ||
523 | focused_workspace $mediumgrey $grey $darkgrey $purple | ||
524 | active_workspace $lightblue $mediumgrey $darkgrey $purple | ||
525 | inactive_workspace $darkgrey $darkgrey $grey $purple | ||
526 | urgent_workspace $urgentred $urgentred $white $purple | ||
527 | } | ||
528 | } | ||
529 | |||
530 | bar { | ||
531 | font pango: Noto Sans Regular 11 | ||
532 | status_command i3blocks -c ~/.config/i3/i3blocks.conf | ||
533 | position bottom | ||
534 | i3bar_command i3bar | ||
535 | output DP-1 | ||
536 | tray_output primary | ||
537 | tray_padding 0 | ||
538 | strip_workspace_numbers no | ||
539 | |||
540 | colors { | ||
541 | separator $purple | ||
542 | background $darkgrey | ||
543 | statusline $white | ||
544 | focused_workspace $mediumgrey $grey $darkgrey $purple | ||
545 | active_workspace $lightblue $mediumgrey $darkgrey $purple | ||
546 | inactive_workspace $darkgrey $darkgrey $grey $purple | ||
547 | urgent_workspace $urgentred $urgentred $white $purple | ||
548 | } | ||
549 | } | ||
550 | # you can add different bars for multidisplay setups on each display: | 492 | # you can add different bars for multidisplay setups on each display: |
551 | # set output HDMI-0 to the display you want the bar, --transparency can be set. | 493 | # set output HDMI-0 to the display you want the bar, --transparency can be set. |
552 | # Transparency needs rgba color codes to be used where the last two letters are the transparency factor see here: | 494 | # Transparency needs rgba color codes to be used where the last two letters are the transparency factor see here: |
diff --git a/dot_config/i3/scripts/executable_powermenu b/dot_config/i3/scripts/executable_powermenu index e72f0a2..989ab2c 100644 --- a/dot_config/i3/scripts/executable_powermenu +++ b/dot_config/i3/scripts/executable_powermenu | |||
@@ -172,7 +172,8 @@ function ask_confirmation() { | |||
172 | fi | 172 | fi |
173 | 173 | ||
174 | if [ "${confirmed}" == 0 ]; then | 174 | if [ "${confirmed}" == 0 ]; then |
175 | i3-msg -q "exec ${menu[${selection}]}" | 175 | exec ${menu[${selection}]} |
176 | #i3-msg -q "exec ${menu[${selection}]}" | ||
176 | fi | 177 | fi |
177 | } | 178 | } |
178 | 179 | ||
@@ -181,6 +182,7 @@ if [[ $? -eq 0 && ! -z ${selection} ]]; then | |||
181 | ${menu_confirm} =~ (^|[[:space:]])"${selection}"($|[[:space:]]) ]]; then | 182 | ${menu_confirm} =~ (^|[[:space:]])"${selection}"($|[[:space:]]) ]]; then |
182 | ask_confirmation | 183 | ask_confirmation |
183 | else | 184 | else |
184 | i3-msg -q "exec ${menu[${selection}]}" | 185 | #i3-msg -q "exec ${menu[${selection}]}" |
186 | exec ${menu[${selection}]} | ||
185 | fi | 187 | fi |
186 | fi | 188 | fi |