aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.config/sway
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2022-05-18 01:17:06 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2022-05-18 01:17:06 +0300
commita36aadab60c09bff3a055b0442971aa5e8a87a27 (patch)
tree0026c02065a0cf35478386312aeb5cb732192469 /dotfiles/.config/sway
parent484181c25cba61469254e24bff578cff5189c8a7 (diff)
downloadswayrice-a36aadab60c09bff3a055b0442971aa5e8a87a27.tar.gz
swayrice-a36aadab60c09bff3a055b0442971aa5e8a87a27.zip
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.
Diffstat (limited to 'dotfiles/.config/sway')
-rw-r--r--dotfiles/.config/sway/config22
-rw-r--r--dotfiles/.config/sway/desktopslav24
2 files changed, 20 insertions, 26 deletions
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