From a36aadab60c09bff3a055b0442971aa5e8a87a27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Wed, 18 May 2022 01:17:06 +0300 Subject: WIP: rofi * Moved basically all menu scripts to use rofi * Updated some custom desktop entries * Updated list of packages. TODO: make a better installer script/package list. * Removed some old and extraneous scripts. * Other minor changes to config. --- dotfiles/.config/gtk-2.0/gtkrc-2.0 | 4 ++-- dotfiles/.config/gtk-3.0/settings.ini | 4 ++-- dotfiles/.config/rofi/config.rasi | 8 ++++---- dotfiles/.config/rofi/ultramar.rasi | 4 +++- dotfiles/.config/sway/config | 22 ++++++++-------------- dotfiles/.config/sway/desktopslav | 24 ++++++++++++------------ dotfiles/.config/waybar/config | 5 ----- dotfiles/.config/waybar/style.css | 2 -- 8 files changed, 31 insertions(+), 42 deletions(-) (limited to 'dotfiles/.config') diff --git a/dotfiles/.config/gtk-2.0/gtkrc-2.0 b/dotfiles/.config/gtk-2.0/gtkrc-2.0 index 94ef305..27741c4 100644 --- a/dotfiles/.config/gtk-2.0/gtkrc-2.0 +++ b/dotfiles/.config/gtk-2.0/gtkrc-2.0 @@ -2,8 +2,8 @@ # Any customization should be done in ~/.gtkrc-2.0.mine instead. include "/home/yaroslav/.gtkrc-2.0.mine" -gtk-theme-name="oomox-materia-dark" -gtk-icon-theme-name="Papirus-Dark" +gtk-theme-name="Adwaita-dark" +gtk-icon-theme-name="Arc" gtk-font-name="FuraCode Nerd Font Mono 10" gtk-cursor-theme-name="Adwaita" gtk-cursor-theme-size=0 diff --git a/dotfiles/.config/gtk-3.0/settings.ini b/dotfiles/.config/gtk-3.0/settings.ini index eb70021..dbeed96 100644 --- a/dotfiles/.config/gtk-3.0/settings.ini +++ b/dotfiles/.config/gtk-3.0/settings.ini @@ -4,10 +4,10 @@ gtk-button-images=0 gtk-cursor-theme-name=Adwaita gtk-fallback-icon-theme=gnome gtk-font-name=FuraCode Nerd Font Mono 10 -gtk-icon-theme-name=Papirus-Dark +gtk-icon-theme-name=Arc gtk-menu-images=1 gtk-primary-button-warps-slider=0 -gtk-theme-name=oomox-materia-dark +gtk-theme-name=Adwaita-dark gtk-toolbar-style=GTK_TOOLBAR_TEXT gtk-cursor-theme-size=0 gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR diff --git a/dotfiles/.config/rofi/config.rasi b/dotfiles/.config/rofi/config.rasi index ba448b8..181ce21 100644 --- a/dotfiles/.config/rofi/config.rasi +++ b/dotfiles/.config/rofi/config.rasi @@ -1,5 +1,5 @@ configuration { - modi: "drun,filebrowser,run,ssh,combi"; + modi: "drun,run,file-browser-extended,ssh,combi"; /* font: "mono 12";*/ location: 2; /* yoffset: 0;*/ @@ -32,8 +32,8 @@ configuration { /* auto-select: false;*/ /* parse-hosts: false;*/ /* parse-known-hosts: true;*/ - combi-modi: "filebrowser,drun,run"; -/* matching: "normal";*/ + combi-modi: "file-browser-extended,drun,run"; + matching: "regex"; /* tokenize: true;*/ /* m: "-5";*/ /* filter: ;*/ @@ -108,7 +108,7 @@ configuration { /* kb-custom-8: "Alt+8";*/ /* kb-custom-9: "Alt+9";*/ /* kb-custom-10: "Alt+0";*/ -/* kb-custom-11: "Alt+exclam";*/ + kb-custom-11: "Alt+exclam,Alt+Return"; /* kb-custom-12: "Alt+at";*/ /* kb-custom-13: "Alt+numbersign";*/ /* kb-custom-14: "Alt+dollar";*/ diff --git a/dotfiles/.config/rofi/ultramar.rasi b/dotfiles/.config/rofi/ultramar.rasi index 214b949..7f92878 100644 --- a/dotfiles/.config/rofi/ultramar.rasi +++ b/dotfiles/.config/rofi/ultramar.rasi @@ -54,7 +54,9 @@ textbox { text-color: @foreground; } listview { - fixed-height: 0; + fixed-height: false; + lines: 20; + dynamic: true; border: 2px 0px 0px ; border-color: @separatorcolor; spacing: 2px ; diff --git a/dotfiles/.config/sway/config b/dotfiles/.config/sway/config index feb3ffa..f20c23d 100644 --- a/dotfiles/.config/sway/config +++ b/dotfiles/.config/sway/config @@ -47,8 +47,8 @@ floating_modifier $mod # GTK theme and icons set $gnome-schema org.gnome.desktop.interface exec_always { - gsettings set $gnome-schema gtk-theme 'oomox-materia-dark' - gsettings set $gnome-schema icon-theme 'Papirus-Dark' + gsettings set $gnome-schema gtk-theme 'Adwaita-dark' + gsettings set $gnome-schema icon-theme 'Arc' } ##### Startup scripts and programs ##### @@ -172,7 +172,7 @@ bindsym --to-code { $mod+q kill # rofi launcher - $mod+d exec rofi -show combi + $mod+d exec rofi -show drun -sidebar-mode # Mako (notifications) $mod+Ctrl+space exec "makoctl dismiss" @@ -186,7 +186,7 @@ bindsym --to-code { $mod+F3 exec rofi -show display -modi "display:rofidisplay" $mod+F4 exec menublk $mod+F10 exec chcolors - $mod+F12 exec menutz + $mod+F12 exec rofi -show tz -modi "tz:rofitz" $mod+t exec toggletorrent $mod+Ctrl+t exec launch-transmission $mod+s exec "xway steam" @@ -195,6 +195,7 @@ bindsym --to-code { $mod+a exec $term -T "neomutt" neomutt $mod+o exec notistats $mod+c exec camtoggle + $mod+Shift+c exec rofi -show calc -modi calc -no-show-match -no-sort $mod+grave exec rofi -show moji -modi "moji:rofimoji" $mod+apostrophe exec menupass $mod+Shift+apostrophe exec "menupass -l" @@ -203,25 +204,18 @@ bindsym --to-code { $mod+backslash exec "menuworkspace" # Network management - $mod+Shift+c exec togglevpn $mod+Shift+n exec $term -T "Network Manager" 'nmtui' # Screenshot and recording - Print exec menugrim -q - $mod+Print exec menugrim - Shift+Print exec "swayrecord screencast" + Print exec screensht "full screen" + $mod+Print exec rofi -show grim -modi "grim:rofigrim" Ctrl+Print exec swayrecord # Sound $mod+Shift+m exec $term -T "ncpamixer" 'ncpamixer' - $mod+Ctrl+m exec menuoutput - - # Applications that start with no gaps - $mod+g exec gimp; gaps inner current set 0; gaps outer current set 0 - $mod+i exec inkscape; gaps inner current set 0; gaps outer current set 0 + $mod+Ctrl+m exec rofi -show audio -modi "audio:rofiaudio" # Dropdown/scratchpad applications - $mod+Shift+v exec ddvk $mod+Shift+t exec ddtelegram $mod+Shift+p exec ddquakemite diff --git a/dotfiles/.config/sway/desktopslav b/dotfiles/.config/sway/desktopslav index 7debab9..e74fa74 100644 --- a/dotfiles/.config/sway/desktopslav +++ b/dotfiles/.config/sway/desktopslav @@ -5,17 +5,17 @@ # Outputs output "HDMI-A-2" background ~/.config/wall2.png fill output "HDMI-A-1" background ~/.config/wall1.png fill -output "HDMI-A-1" pos 1920 0 -output "HDMI-A-2" pos 0 0 +output "HDMI-A-1" pos 0 0 +output "HDMI-A-2" pos 1920 100 # Workspaces -workspace $ws1 output HDMI-A-2 -workspace $ws2 output HDMI-A-2 -workspace $ws3 output HDMI-A-2 -workspace $ws4 output HDMI-A-2 -workspace $ws5 output HDMI-A-2 -workspace $ws6 output HDMI-A-2 -workspace $ws7 output HDMI-A-1 -workspace $ws8 output HDMI-A-1 -workspace $ws9 output HDMI-A-1 -workspace $ws10 output HDMI-A-1 +workspace $ws1 output HDMI-A-1 +workspace $ws2 output HDMI-A-1 +workspace $ws3 output HDMI-A-1 +workspace $ws4 output HDMI-A-1 +workspace $ws5 output HDMI-A-1 +workspace $ws6 output HDMI-A-1 +workspace $ws7 output HDMI-A-2 +workspace $ws8 output HDMI-A-2 +workspace $ws9 output HDMI-A-2 +workspace $ws10 output HDMI-A-2 diff --git a/dotfiles/.config/waybar/config b/dotfiles/.config/waybar/config index 1712bb2..0863e39 100644 --- a/dotfiles/.config/waybar/config +++ b/dotfiles/.config/waybar/config @@ -21,7 +21,6 @@ "custom/news-status", "memory", "custom/torrent-status", - "custom/vpn-status", "network", "backlight", "battery#bat0", @@ -176,10 +175,6 @@ "interval": "once", "exec": "barrecstatus" }, - "custom/vpn-status": { - "format": "{}", - "exec": "barvpnstatus" - }, "custom/torrent-status": { "format": "{}", "signal": 10, diff --git a/dotfiles/.config/waybar/style.css b/dotfiles/.config/waybar/style.css index 5af71da..7422deb 100644 --- a/dotfiles/.config/waybar/style.css +++ b/dotfiles/.config/waybar/style.css @@ -36,7 +36,6 @@ window#waybar { #battery, #network, #backlight, -#custom-vpn-status, #custom-torrent-status, #workspaces { background: #232328; @@ -80,7 +79,6 @@ window#waybar { #custom-swaykbd, #custom-ds4battery, #custom-rec-status, -#custom-vpn-status, #custom-pac-status, #custom-mail-status, #custom-news-status, -- cgit v1.2.3