From 3165a1f9d03d7f0e31eba9b7cf66dc27c3a3b862 Mon Sep 17 00:00:00 2001 From: Beppe Vanrolleghem Date: Thu, 3 Mar 2022 02:33:00 +0100 Subject: [PATCH] dmenu --- .config/sway/config | 16 +++++------ .config/systemd/user/sleep.service | 4 +-- .i3/config | 44 ++++++++++++++++-------------- 3 files changed, 34 insertions(+), 30 deletions(-) diff --git a/.config/sway/config b/.config/sway/config index 53bac3b..fdadd0e 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -43,7 +43,7 @@ bindsym $mod+q kill # start program launcher #bindsym $mod+d exec --no-startup-id dmenu_recency -bindsym $mod+space exec --no-startup-id wofi --show run +bindsym $mod+space exec --no-startup-id sleep 0.1 && rofi --show run # launch categorized menu bindsym $mod+z exec --no-startup-id morc_menu @@ -376,14 +376,14 @@ bar { strip_workspace_numbers yes colors { - background #222D31 - statusline #F9FAF9 - separator #454947 + background #000000 + statusline #FFFFFF + separator #FFFFFF # border backgr. text - focused_workspace #F9FAF9 #16a085 #292F34 - active_workspace #595B5B #353836 #FDF6E3 - inactive_workspace #595B5B #222D31 #EEE8D5 + focused_workspace #FFFFFF #FFFFFF #000000 + active_workspace #FFFFFF #FFFFFF #000000 + inactive_workspace #000000 #000000 #FFFFFF binding_mode #16a085 #2C2C2C #F9FAF9 urgent_workspace #16a085 #FDF6E3 #E5201D } @@ -407,7 +407,7 @@ bindsym $mod+m bar mode toggle ############################# # Set inner/outer gaps -gaps inner 14 +gaps inner 1 gaps outer -2 # Additionally, you can issue commands with the following syntax. This is useful to bind keys to changing the gap size. diff --git a/.config/systemd/user/sleep.service b/.config/systemd/user/sleep.service index 23966e6..4dc369c 100644 --- a/.config/systemd/user/sleep.service +++ b/.config/systemd/user/sleep.service @@ -3,8 +3,8 @@ Description=Sleep Manager PartOf=graphical-session.target [Service] -#ExecStart=/usr/bin/xautolock -time 10 -locker "i3exit suspend" -detectsleep -ExecStart=/usr/bin/swayidle -w timeout 300 'swaylock -f -i /home/beppe/Pictures/wallhaven-5w5pd8.png' timeout 600 'systemctl suspend' before-sleep 'swaylock -f -i /home/beppe/Pictures/wallhaven-5w5pd8.png' +ExecStart=/usr/bin/xautolock -time 10 -locker "i3exit suspend" -detectsleep +#ExecStart=/usr/bin/swayidle -w timeout 300 'swaylock -f -i /home/beppe/Pictures/wallhaven-5w5pd8.png' timeout 600 'systemctl suspend' before-sleep 'swaylock -f -i /home/beppe/Pictures/wallhaven-5w5pd8.png' Environment=WAYLAND_DISPLAY=wayland-1 [Install] diff --git a/.i3/config b/.i3/config index 4fb68e1..a7c994d 100644 --- a/.i3/config +++ b/.i3/config @@ -29,18 +29,15 @@ floating_modifier $mod # start a terminal bindsym $mod+Return exec kitty - -# Replay sorcery saves replays like shadowplay baybee -bindsym $mod+Shift+s exec replay-sorcery save - # kill focused window bindsym $mod+q kill # start program launcher #bindsym $mod+d exec --no-startup-id dmenu_recency -bindsym $mod+Space exec --no-startup-id rofi --show run -bindsym $mod+p exec --no-startup-id rofi --show run + +bindsym $mod+space exec dmenu_run +bindsym $mod+p exec --no-startup-id rofi -show window # launch categorized menu bindsym $mod+z exec --no-startup-id morc_menu @@ -63,9 +60,9 @@ bindsym $mod+Ctrl+m exec pavucontrol # Start Applications bindsym $mod+Ctrl+b exec terminal -e 'bmenu' -bindsym $mod+F2 exec palemoon -bindsym $mod+F3 exec pcmanfm -# bindsym $mod+F3 exec ranger +bindsym $mod+F2 exec firefox +#bindsym $mod+F3 exec pcmanfm +bindsym $mod+F3 exec ranger bindsym $mod+Shift+F3 exec pcmanfm_pkexec bindsym $mod+F5 exec terminal -e 'mocp' bindsym $mod+t exec --no-startup-id pkill picom @@ -314,7 +311,7 @@ exec --no-startup-id nitrogen --restore; sleep 1; picom -b #exec --no-startup-id manjaro-hello exec --no-startup-id nm-applet exec --no-startup-id xfce4-power-manager -exec --no-startup-id pamac-tray +#exec --no-startup-id pamac-tray exec --no-startup-id clipit exec --no-startup-id blueberry-tray # exec --no-startup-id blueman-applet @@ -322,7 +319,7 @@ exec --no-startup-id blueberry-tray #exec --no-startup-id start_conky_maia # exec --no-startup-id start_conky_green #``exec --no-startup-id xautolock -time 10 -locker blurlock -exec_always --no-startup-id ff-theme-util +#exec_always --no-startup-id ff-theme-util exec_always --no-startup-id fix_xcursor # Color palette used for the terminal ( ~/.Xresources file ) @@ -359,8 +356,8 @@ exec_always --no-startup-id fix_xcursor # Start i3bar to display a workspace bar (plus the system information i3status if available) bar { #swaybar_command waybar - i3bar_command i3bar - #status_command i3status + #i3bar_command i3bar + status_command i3status position bottom ## please set your primary output first. Example: 'xrandr --output eDP1 --primary' @@ -373,16 +370,23 @@ bar { strip_workspace_numbers yes colors { - background #222D31 - statusline #F9FAF9 - separator #454947 - + background #000000 + statusline #FFFFFF + separator #FFFFFF + # border backgr. text - focused_workspace #F9FAF9 #16a085 #292F34 - active_workspace #595B5B #353836 #FDF6E3 - inactive_workspace #595B5B #222D31 #EEE8D5 + focused_workspace #FFFFFF #FFFFFF #000000 + active_workspace #FFFFFF #FFFFFF #000000 + inactive_workspace #000000 #000000 #FFFFFF binding_mode #16a085 #2C2C2C #F9FAF9 urgent_workspace #16a085 #FDF6E3 #E5201D + + +# focused_workspace #F9FAF9 #16a085 #292F34 +# active_workspace #595B5B #353836 #FDF6E3 +# inactive_workspace #595B5B #222D31 #EEE8D5 +# binding_mode #16a085 #2C2C2C #F9FAF9 +# urgent_workspace #16a085 #FDF6E3 #E5201D } }