diff --git a/conf.d/i3/conf.d/colors.conf b/conf.d/i3/conf.d/colors.conf index 7ffaa52..7845bae 100644 --- a/conf.d/i3/conf.d/colors.conf +++ b/conf.d/i3/conf.d/colors.conf @@ -27,7 +27,7 @@ set_from_resource $color15 color15 # My colors client.background $background -client.focused $foreground $background $foreground $color2 $color2 +client.focused $foreground $background $foreground #e60053 #e60053 client.unfocused $foreground $background $foreground $color4 $color4 client.focused_inactive $foreground $background $foreground $color4 $color4 client.urgent $foreground $background $foreground $color4 $color4 diff --git a/conf.d/i3/conf.d/keybindings.conf b/conf.d/i3/conf.d/keybindings.conf index 030250b..033725c 100644 --- a/conf.d/i3/conf.d/keybindings.conf +++ b/conf.d/i3/conf.d/keybindings.conf @@ -20,7 +20,7 @@ bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOU # bindsym $mod+d exec --no-startup-id dmenu_run # A more modern dmenu replacement is rofi: # bindcode $mod+40 exec "rofi -modi drun,run -show drun" -bindsym $mod+space exec "rofi -show drun" +bindsym $mod+space exec ".config/rofi/launchers/type-3/launcher.sh" # There also is i3-dmenu-desktop which only displays applications shipping a # .desktop file. It is a wrapper around dmenu, so you need that installed. # bindcode $mod+40 exec --no-startup-id i3-dmenu-desktop @@ -115,8 +115,8 @@ bindsym $mod+8 workspace number $ws8 bindsym $mod+9 workspace number $ws9 bindsym $mod+0 workspace number $ws10 -bindsym $mod+Control+Left workspace prev -bindsym $mod+Control+Right workspace next +bindsym $alt+Control+Left workspace prev +bindsym $alt+Control+Right workspace next # move focused container to workspace bindsym $mod+Shift+1 move container to workspace number $ws1 @@ -130,8 +130,8 @@ bindsym $mod+Shift+8 move container to workspace number $ws8 bindsym $mod+Shift+9 move container to workspace number $ws9 bindsym $mod+Shift+0 move container to workspace number $ws10 -# bindsym $mod+Shift+Left move container to workspace prev -# bindsym $mod+Shift+Right move container to workspace next +bindsym $alt+Shift+Left move container to workspace prev +bindsym $alt+Shift+Right move container to workspace next # reload the configuration file bindsym $mod+Shift+c reload diff --git a/conf.d/i3/conf.d/startup_apps.conf b/conf.d/i3/conf.d/startup_apps.conf index 2d2de6f..e657b4b 100644 --- a/conf.d/i3/conf.d/startup_apps.conf +++ b/conf.d/i3/conf.d/startup_apps.conf @@ -13,7 +13,7 @@ exec --no-startup-id start-pulseaudioi-x11 # xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the # screen before suspend. Use loginctl lock-session to lock your screen. -exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork +exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork --image=/usr/share/backgrounds/cynicalteam/0143.jpg -t exec --no-startup-id nm-applet diff --git a/conf.d/polybar/config.ini b/conf.d/polybar/config.ini index f750ffd..472e3c9 100644 --- a/conf.d/polybar/config.ini +++ b/conf.d/polybar/config.ini @@ -43,9 +43,10 @@ alert = #bd2c40 [bar/main] -;monitor = ${env:MONITOR:HDMI-1} +monitor = DP-0.8 +monitor-fallback = HDMI-0 width = 100% -height = 27 +height = 28 ;offset-x = 1% ;offset-y = 1% radius = 6.0 @@ -66,13 +67,14 @@ padding-right = 2 module-margin-left = 1 module-margin-right = 2 -font-0 = "Monofur Nerd Font Mono:size=12:weight=bold" -font-1 = "FontAwesome:size=12" +font-0 = "FantasqueSansMono Nerd Font Mono:style=Bold" +; font-0 = "Monofur Nerd Font Mono:size=12:weight=bold" +font-1 = "FontAwesome:size=12" ; modules-left = publicip filesystem -modules-left = filesystem -modules-center = mpd -modules-right = pulseaudio +modules-left = i3 +modules-center = date +modules-right = mpd pulseaudio tray-position = right tray-padding = 2 @@ -83,6 +85,33 @@ cursor-scroll = ns-resize enable-ipc = true +locale = fr_FR.UTF-8 + + +[module/ewmh] +type = internal/xworkspaces + +; Only show workspaces defined on the same output as the bar +; +; Useful if you want to show monitor specific workspaces +; on different bars +; +; Default: false +pin-workspaces = true + +; Create click handler used to focus desktop +; Default: true +enable-click = false + +; Create scroll handlers used to cycle desktops +; Default: true +enable-scroll = false + +; Reverse the scroll direction +; Default: false +; New in version 3.6.0 +reverse-scroll = true + [module/filesystem] @@ -90,6 +119,9 @@ type = internal/fs interval = 25 mount-0 = / +mount-1 = /home + +spacing = 4 label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%% label-unmounted = %mountpoint% not mounted @@ -145,21 +177,150 @@ format-disconnected = ;label-disconnected = %ifname% disconnected ;label-disconnected-foreground = ${colors.foreground-alt} -; [module/date] -; type = internal/date -; interval = 5 -; date = -; date-alt = " %Y-%m-%d" -; time = %H:%M -; time-alt = %H:%M:%S +[module/date] +type = internal/date +interval = 5 -; format-prefix =  -; format-prefix-foreground = ${colors.foreground-alt} -; format-underline = #0a6cf5 +; date = %d/%m/%Y +date = %A, %d %b %Y +date-alt = %A, %d %b %Y -; label = %date% %time% +time = %H:%M +time-alt = %H:%M:%S + +format-prefix =  +format-prefix-foreground = ${colors.foreground-alt} +format-underline = #0a6cf5 + +label = %date% %time% + + + +[module/i3] +type = internal/i3 + +; Only show workspaces defined on the same output as the bar +; +; Useful if you want to show monitor specific workspaces +; on different bars +; +; Default: false +pin-workspaces = true + +; Show urgent workspaces regardless of whether the workspace is actually hidden +; by pin-workspaces. +; +; Default: false +; New in version 3.6.0 +show-urgent = true + +; This will split the workspace name on ':' +; Default: false +strip-wsnumbers = true + +; Sort the workspaces by index instead of the default +; sorting that groups the workspaces by output +; Default: false +index-sort = true + +; Create click handler used to focus workspace +; Default: true +enable-click = false + +; Create scroll handlers used to cycle workspaces +; Default: true +enable-scroll = false + +; Wrap around when reaching the first/last workspace +; Default: true +wrapping-scroll = false + +; Set the scroll cycle direction +; Default: true +reverse-scroll = false + +; Use fuzzy (partial) matching on labels when assigning +; icons to workspaces +; Example: code;♚ will apply the icon to all workspaces +; containing 'code' in the label +; Default: false +fuzzy-match = true + +; ws-icon-[0-9]+ =