Removed omnipause

This commit is contained in:
Kristofers Solo
2022-05-31 16:25:49 +03:00
parent 52eaa5ca60
commit 7bd345e11f
7 changed files with 15 additions and 144 deletions

View File

@@ -9,7 +9,6 @@
"terminal.integrated.cursorStyle": "line",
"security.workspace.trust.untrustedFiles": "open",
"explorer.confirmDragAndDrop": false,
"python.formatting.provider": "yapf",
"python.formatting.yapfArgs": [
"--style",
@@ -61,7 +60,6 @@
"[markdown]": {
"editor.defaultFormatter": "yzhang.markdown-all-in-one"
},
"workbench.iconTheme": "material-icon-theme",
"json.schemas": [],
"workbench.enableExperiments": false,
"editor.fontFamily": "JetBrainsMono NF",
@@ -110,5 +108,6 @@
}
]
},
"workbench.colorTheme": "Sweet Dracula"
"workbench.colorTheme": "Dracula Soft",
"workbench.iconTheme": "material-icon-theme"
}

View File

@@ -272,13 +272,13 @@ root.buttons(gears.table.join(
-- {{{ Key bindings
globalkeys = gears.table.join(
awful.key( {}, "Pause", function () awful.spawn.with_shell("omnipause toggle") end,
awful.key( {}, "Pause", function () awful.spawn.with_shell("playerctl play-pause") end,
{description="pause/play", group="media controls"}),
awful.key( {}, "#117", function () awful.spawn.with_shell("omnipause next") end,
awful.key( {}, "#117", function () awful.spawn.with_shell("playerctl next") end,
{description="play next", group="media controls"}),
awful.key( {}, "#112", function () awful.spawn.with_shell("omnipause previous") end,
awful.key( {}, "#112", function () awful.spawn.with_shell("playerctl previous") end,
{description="play previous", group="media controls"}),
--awful.key( {}, "#123", function () volume_widget:inc(5) end ), -- increase volume
@@ -289,10 +289,10 @@ globalkeys = gears.table.join(
awful.key( {}, "#123", function () awful.spawn.with_shell("pulsemixer --change-volume +5") end ), -- increase volume
awful.key( {}, "#122", function () awful.spawn.with_shell("pulsemixer --change-volume -5") end ), -- decrease volume
awful.key( {}, "#121", function () awful.spawn.with_shell("pulsemixer --toggle-mute") end ), -- mute
awful.key( {}, "#171", function () awful.spawn.with_shell("omnipause next") end ), -- play next
awful.key( {}, "#173", function () awful.spawn.with_shell("omnipause previous") end ), -- play previous
awful.key( {}, "#174", function () awful.spawn.with_shell("omnipause stop") end ), -- stop
awful.key( {}, "#172", function () awful.spawn.with_shell("omnipause toggle") end ), -- play/pause
awful.key( {}, "#171", function () awful.spawn.with_shell("playerctl next") end ), -- play next
awful.key( {}, "#173", function () awful.spawn.with_shell("playerctl previous") end ), -- play previous
awful.key( {}, "#174", function () awful.spawn.with_shell("playerctl stop") end ), -- stop
awful.key( {}, "#172", function () awful.spawn.with_shell("playerctl play-pause") end ), -- play/pause
awful.key( { "Control" }, "#107", function () awful.spawn.with_shell("flameshot gui") end,
{description="take region screenshot", group="launcher"}), -- take region screenshot

View File

@@ -286,8 +286,7 @@ globalkeys = gears.table.join(
awful.key( {}, "#123", function () awful.spawn.with_shell("pulsemixer --change-volume +5") end ), -- increase volume
awful.key( {}, "#122", function () awful.spawn.with_shell("pulsemixer --change-volume -5") end ), -- decrease volume
awful.key( {}, "#121", function () awful.spawn.with_shell("pulsemixer --toggle-mute") end ), -- mute
awful.key( {}, "#172", function () awful.spawn.with_shell("omnipause toggle") end ), -- play/pause
awful.key( {}, "#172", function () awful.spawn.with_shell("playerctl play-pause") end ), -- play/pause
awful.key( { "Control" }, "#107", function () awful.spawn.with_shell("flameshot gui") end,
{description="take region screenshot", group="launcher"}), -- take region screenshot

View File

@@ -1,4 +1,4 @@
#? Config file for btop v. 1.2.6
#? Config file for btop v. 1.2.7
#* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes.
#* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes"
@@ -144,6 +144,9 @@ mem_graphs = True
#* Show mem box below net box instead of above.
mem_below_net = False
#* Count ZFS ARC in cached and available memory.
zfs_arc_cached = True
#* If swap memory should be shown in memory box.
show_swap = True

View File

@@ -3,4 +3,4 @@ runsvdir ~/.runit/runsvdir &
/usr/bin/pipewire-pulse &
/usr/bin/pipewire-media-session &
exec awesome
exec dbus-launch --sh-syntax --exit-with-session awesome