diff --git a/config b/config index 4364421..b0a6c26 100644 --- a/config +++ b/config @@ -47,9 +47,9 @@ bindsym $mod+Shift+q kill #bindsym $mod+Shift+d exec dmenu_run #bindsym $mod+d exec j4-dmenu-desktop -bindsym --release $mod+Shift+d exec "rofi -show run" -bindsym --release $mod+d exec "rofi -show drun" -bindsym --release $mod+Control+d exec "rofi -show window" +bindsym --release $mod+Shift+d exec "xkb-switch -s us && rofi -show run" +bindsym --release $mod+d exec "xkb-switch -s us && rofi -show drun" +bindsym --release $mod+Control+d exec "xkb-switch -s us && rofi -show window" # There also is the (new) i3-dmenu-desktop which only displays applications # shipping a .desktop file. It is a wrapper around dmenu, so you need that @@ -153,6 +153,7 @@ bindsym $mod+Shift+c reload bindsym $mod+Shift+r restart # exit i3 (logs you out of your X session) bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'" +bindsym $mod+Shift+b exec "~/.config/i3/rofi-btooth" bindsym $mod+Shift+grave move scratchpad bindsym $mod+grave scratchpad show @@ -194,12 +195,12 @@ bindsym --release Print exec --no-startup-id scrot -m '%Y%m%d- bindsym --release $mod+Print exec --no-startup-id scrot -s '/tmp/%F_%T_$wx$h.png' -e 'xclip -selection clipboard -target image/png -i $f' ### Audio volume -bindsym XF86AudioMute exec --no-startup-id "amixer -D pulse sset Master toggle" -bindsym XF86AudioRaiseVolume exec --no-startup-id "amixer -D pulse sset Master 10%+" -bindsym Shift+XF86AudioRaiseVolume exec --no-startup-id "amixer -D pulse sset Master 5%+" -bindsym XF86AudioLowerVolume exec --no-startup-id "amixer -D pulse sset Master 10%-" -bindsym Shift+XF86AudioLowerVolume exec --no-startup-id "amixer -D pulse sset Master 5%-" -bindsym XF86AudioMicMute exec --no-startup-id "amixer -D pulse sset Capture toggle" +bindsym XF86AudioMute exec --no-startup-id amixer -D pulse sset Master toggle +bindsym XF86AudioRaiseVolume exec --no-startup-id amixer -D pulse sset Master 10%+ +bindsym Shift+XF86AudioRaiseVolume exec --no-startup-id amixer -D pulse sset Master 5%+ +bindsym XF86AudioLowerVolume exec --no-startup-id amixer -D pulse sset Master 10%- +bindsym Shift+XF86AudioLowerVolume exec --no-startup-id amixer -D pulse sset Master 5%- +bindsym XF86AudioMicMute exec --no-startup-id amixer -D pulse sset Capture toggle mode "mode_mic" { diff --git a/i3status-rust.toml b/i3status-rust.toml index 062e1e9..75e0728 100644 --- a/i3status-rust.toml +++ b/i3status-rust.toml @@ -12,10 +12,10 @@ block = "toggle" interval = 3 text = "NO BLANK" command_state = "xset q | grep 'DPMS is Disabled'" -#command_on = "xset s off -dpms; xset s 300 300" -#command_off = "xset s on +dpms" -command_on = "xset dpms force on" -command_off = "xset reset" +command_on = "xset s off -dpms" +command_off = "xset s on +dpms" +#command_on = "xset dpms force on" +#command_off = "xset reset" [[block]] block = "toggle" @@ -80,6 +80,12 @@ block = "bluetooth" mac = "2C:4D:79:47:42:9F" label = " BT" +[[block]] +block = "custom" +command = "echo 'pair'" +interval = 600 +on_click = "~/.config/i3/rofi-btooth" + [[block]] block = "time" interval = 60 diff --git a/polybar.conf~ b/polybar.conf~ deleted file mode 100644 index 7705a08..0000000 --- a/polybar.conf~ +++ /dev/null @@ -1,374 +0,0 @@ -;===================================================== -; -; To learn more about how to configure Polybar -; go to https://github.com/jaagr/polybar -; -; The README contains alot of information -; -;===================================================== - -[settings] -screenchange-reload = true - -[colors] -background = #222 -background-alt = #444 -foreground = #dfdfdf -foreground-alt = #55 -primary = #ffb52a -secondary = #e60053 -alert = #bd2c40 - -[global/wm] -margin-top = 5 -margin-bottom = 5 - -[bar/example] -bottom = true -separator = "" - -;monitor = ${env:MONITOR:HDMI-1} -width = 100% -height = 27 -offset-x = 0 -offset-y = 0 - -;background = ${xrdb:color9} -background = ${colors.background} -foreground = ${colors.foreground} - -overline-size = 2 -overline-color = #f00 -underline-size = 2 -underline-color = #00f - -border-bottom-size = 2 -border-bottom-color = #333 - -padding-left = 0 -padding-right = 2 -module-margin-left = 1 -module-margin-right = 2 - -font-0 = System San Francisco Display:pixelsize=12 -font-1 = unifont:fontformat=truetype:size=6:heavy;-2 -font-2 = siji:pixelsize=10 -font-3 = FontAwesome:pixelsize=12;0 -font-4 = fixed:pixelsize=10 -font-5 = TakaoPGothic:pixelsize=12 - -modules-left = bspwm i3 xwindow -modules-center = -modules-right = xbacklight volume xkeyboard memory cpu wlan eth battery temperature date powermenu - -tray-position = right -tray-padding = 2 -;tray-transparent = true -;tray-background = #0063ff - -;wm-restack = bspwm -;wm-restack = i3 - -;override-redirect = true - -;scroll-up = bspwm-desknext -;scroll-down = bspwm-deskprev - -;scroll-up = i3wm-wsnext -;scroll-down = i3wm-wsprev - - -[module/xwindow] -type = internal/xwindow -label = %title:0:30:...% - -[module/xkeyboard] -type = internal/xkeyboard -blacklist-0 = num lock -label-layout = %{F#55}%{F-} %layout% -label-layout-underline = ${colors.secondary} -label-indicator-padding = 2 -label-indicator-margin = 1 -label-indicator-background = ${colors.secondary} -label-indicator-underline = ${colors.secondary} - -[module/filesystem] -type = internal/fs -interval = 25 - -mount-0 = / -mount-1 = /home -mount-2 = /invalid/mountpoint - -label-mounted = %mountpoint%: %percentage_free%% - -label-unmounted = %mountpoint%: not mounted -label-unmounted-foreground = ${colors.foreground-alt} - -[module/bspwm] -type = internal/bspwm - -label-focused = %index% -label-focused-background = ${colors.background-alt} -label-focused-underline= ${colors.primary} -label-focused-padding = 2 - -label-occupied = %index% -label-occupied-padding = 2 - -label-urgent = %index%! -label-urgent-background = ${colors.alert} -label-urgent-padding = 2 - -label-empty = %index% -label-empty-foreground = ${colors.foreground-alt} -label-empty-padding = 2 - -[module/i3] -type = internal/i3 -;fuzzy-match = true -format = -index-sort = true -wrapping-scroll = false - -strip-wsnumbers = true - -label-mode-padding = 2 -label-mode-foreground = #000 -label-mode-background = ${colors.primary} - -label-focused = %name% -label-focused-background = ${module/bspwm.label-focused-background} -label-focused-underline = ${module/bspwm.label-focused-underline} -label-focused-padding = ${module/bspwm.label-focused-padding} - -label-unfocused = %name% -label-unfocused-padding = ${module/bspwm.label-occupied-padding} - -label-urgent = %name%! -label-urgent-background = ${module/bspwm.label-urgent-background} -label-urgent-padding = ${module/bspwm.label-urgent-padding} - -label-visible = %name% -label-visible-background = ${self.label-focused-background} -label-visible-underline = ${self.label-focused-underline} -label-visible-padding = ${self.label-focused-padding} - -; ws-icon-0 = "1;a" -; ws-icon-1 = "2;a" -; ws-icon-2 = "3;a" -; ws-icon-3 = "4;四" -; ws-icon-default = k -[module/mpd] -type = internal/mpd - -format-online = - -label-song-maxlen = 25 -label-song-ellipsis = true - -icon-prev =  -icon-seekb =  -icon-stop =  -icon-play =  -icon-pause =  -icon-next =  -icon-seekf =  - -icon-random =  -icon-repeat =  - -toggle-on-foreground = ${colors.primary} -toggle-off-foreground = #66 - -[module/xbacklight] -type = internal/xbacklight - -format =