From bd024c6e9116d6e72ccfc4b6ae9df3723e549941 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Thu, 1 Dec 2022 14:05:29 +0100 Subject: i3 --- i3/config.d/40-app-settings.conf | 1 - i3/config.d/40-app-shortcuts.conf | 1 + i3/config.d/40-i3-shortcuts.conf | 13 ------------- i3/config.d/40-wm-shortcuts.conf | 12 ++++++++++++ 4 files changed, 13 insertions(+), 14 deletions(-) (limited to 'i3') diff --git a/i3/config.d/40-app-settings.conf b/i3/config.d/40-app-settings.conf index 27b174f..bc63edb 100644 --- a/i3/config.d/40-app-settings.conf +++ b/i3/config.d/40-app-settings.conf @@ -9,7 +9,6 @@ for_window [class="feh"] floating enable for_window [class="steam_app_1182480"] floating enable # floating termite -bindsym $mod+Shift+Return exec "termite -t termite_floating" for_window [title="termite_floating"] floating enable for_window [title="termite_floating"] resize set 1000 700 diff --git a/i3/config.d/40-app-shortcuts.conf b/i3/config.d/40-app-shortcuts.conf index 83082df..7d1a00b 100644 --- a/i3/config.d/40-app-shortcuts.conf +++ b/i3/config.d/40-app-shortcuts.conf @@ -1,6 +1,7 @@ # vi: ft=i3config bindsym $mod+Return exec "termite -t termite" +bindsym $mod+Shift+Return exec "termite -t termite_floating" bindsym $mod+o exec "dolphin" diff --git a/i3/config.d/40-i3-shortcuts.conf b/i3/config.d/40-i3-shortcuts.conf index b5585b1..9192440 100644 --- a/i3/config.d/40-i3-shortcuts.conf +++ b/i3/config.d/40-i3-shortcuts.conf @@ -2,19 +2,6 @@ bindsym $mod+Shift+e exec "rofi -show fb -modi fb:rofi-exit-menu.sh" - -# Pulse Audio controls -bindsym XF86AudioRaiseVolume exec --no-startup-id pactl -- set-sink-volume 0 +5% -bindsym XF86AudioLowerVolume exec --no-startup-id pactl -- set-sink-volume 0 -5% -bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle -bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute 1 toggle - -#Mediacontrol -bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause -bindsym XF86AudioStop exec --no-startup-id playerctl stop -bindsym XF86AudioPrev exec --no-startup-id playerctl previous -bindsym XF86AudioNext exec --no-startup-id playerctl next - # Sreen brightness controls # Use acpilight with arch!! # https://gitlab.com/wavexx/acpilight diff --git a/i3/config.d/40-wm-shortcuts.conf b/i3/config.d/40-wm-shortcuts.conf index ee3fd29..1ba446f 100644 --- a/i3/config.d/40-wm-shortcuts.conf +++ b/i3/config.d/40-wm-shortcuts.conf @@ -58,3 +58,15 @@ bindsym $mod+a focus parent # Scratchpad bindsym $mod+Shift+BackSpace move scratchpad bindsym $mod+BackSpace scratchpad show + +# Pulse Audio controls +bindsym XF86AudioRaiseVolume exec --no-startup-id pactl -- set-sink-volume 0 +5% +bindsym XF86AudioLowerVolume exec --no-startup-id pactl -- set-sink-volume 0 -5% +bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle +bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute 1 toggle + +#Mediacontrol +bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause +bindsym XF86AudioStop exec --no-startup-id playerctl stop +bindsym XF86AudioPrev exec --no-startup-id playerctl previous +bindsym XF86AudioNext exec --no-startup-id playerctl next -- cgit v1.2.3