├── .Xresources ├── README.md ├── i3 ├── config └── picom.conf ├── polybar ├── config ├── gmail │ ├── LICENSE │ ├── README.md │ ├── auth.py │ ├── launch.py │ ├── list_labels.py │ ├── poetry.lock │ ├── preview.png │ └── pyproject.toml ├── launch.sh ├── pacman_update.sh └── spotify_status.py ├── rofi ├── config.rasi └── themes │ └── nord-center.rasi ├── screen1.png └── screen2.png /.Xresources: -------------------------------------------------------------------------------- 1 | ! Appearance 2 | urxvt.termName: rxvt-unicode 3 | urxvt.scrollBar: false 4 | urxvt.background: black 5 | urxvt.foreground: white 6 | !! Font prefferenes 7 | ! urxvt.font: xft:DejaVu Sans Mono:style=Bold:pixelsize=13 8 | ! urxvt.boldFont: xft:DejaVu Sans Mono:pixelsize=13:weight=bold 9 | urxvt.font: xft:MesloLGS NF:style=Bold:pixelsize=14 10 | ! urxvt.font: xft:MesloLGS NF:style=Regular:pixelsize=15 11 | urxvt.letterSpace: -1 12 | !! Larger history limit 13 | urxvt.saveLines: 1000000 14 | urxvt.transparent: true 15 | urxvt.shading: 55 16 | urxvt.blurRadius: 12 17 | 18 | !! Perl extensions 19 | urxvt.perl-ext-common: default,matcher,font-size 20 | !! Open urls in browser with Control-Click 21 | urxvt.urlLauncher: /usr/bin/firefox 22 | urxvt.matcher.button: C1 23 | !! Change font size on Control-Plus/Minus 24 | URxvt.keysym.Control-0x2b: perl:font-size:increase 25 | URxvt.keysym.Control-0x2d: perl:font-size:decrease 26 | 27 | !! Tango color theme 28 | !! Strange - it matches tango from gnome-terminal, but looks different 29 | URxvt.color0: rgb:00/00/00 30 | URxvt.color1: rgb:CC/00/00 31 | !!URxvt.color2: rgb:4E/9A/06 32 | URxvt.color2: rgb:f9/f0/76 33 | URxvt.color3: rgb:C4/A0/00 34 | URxvt.color4: rgb:34/65/A4 35 | URxvt.color5: rgb:75/50/7B 36 | URxvt.color6: rgb:06/98/9A 37 | URxvt.color7: rgb:D3/D7/CF 38 | URxvt.color8: rgb:55/57/53 39 | URxvt.color9: rgb:EF/29/29 40 | URxvt.color10: rgb:8A/E2/34 41 | URxvt.color11: rgb:FC/E9/4F 42 | URxvt.color12: rgb:72/9F/CF 43 | URxvt.color13: rgb:AD/7F/A8 44 | URxvt.color14: rgb:34/E2/E2 45 | URxvt.color15: rgb:EE/EE/EC 46 | URxvt.colorBD: rgb:ff/ff/ff 47 | 48 | !! Copy Paste 49 | URxvt.keysym.Shift-Control-V: eval:paste_clipboard 50 | URxvt.keysym.Shift-Control-C: eval:selection_to_clipboard 51 | 52 | !! Padding 53 | URxvt.internalBorder: 20 54 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # i3-config-files 2 | 3 | ![](screen1.png) 4 | ![](screen2.png) 5 | -------------------------------------------------------------------------------- /i3/config: -------------------------------------------------------------------------------- 1 | # This file has been auto-generated by i3-config-wizard(1). 2 | # It will not be overwritten, so edit it as you like. 3 | # 4 | # Should you change your keyboard layout some time, delete 5 | # this file and re-run i3-config-wizard(1). 6 | # 7 | 8 | # i3 config file (v4) 9 | # 10 | # Please see https://i3wm.org/docs/userguide.html for a complete reference! 11 | 12 | set $mod Mod4 13 | 14 | # Font for window titles. Will also be used by the bar unless a different font 15 | # is used in the bar {} block below. 16 | font pango:monospace 8 17 | 18 | # This font is widely installed, provides lots of unicode glyphs, right-to-left 19 | # text rendering and scalability on retina/hidpi displays (thanks to pango). 20 | #font pango:DejaVu Sans Mono 8 21 | 22 | # The combination of xss-lock, nm-applet and pactl is a popular choice, so 23 | # they are included here as an example. Modify as you see fit. 24 | 25 | # xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the 26 | # screen before suspend. Use loginctl lock-session to lock your screen. 27 | exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork 28 | 29 | # NetworkManager is the most popular way to manage wireless networks on Linux, 30 | # and nm-applet is a desktop environment-independent system tray GUI for it. 31 | exec --no-startup-id nm-applet 32 | 33 | # Use pactl to adjust volume in PulseAudio. 34 | set $refresh_i3status killall -SIGUSR1 i3status 35 | bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status 36 | bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status 37 | bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status 38 | bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status 39 | 40 | # Use Mouse+$mod to drag floating windows to their wanted position 41 | floating_modifier $mod 42 | 43 | # start a terminal 44 | bindsym $mod+Return exec i3-sensible-terminal 45 | 46 | # kill focused window 47 | bindsym $mod+q kill 48 | 49 | # start dmenu (a program launcher) 50 | # bindsym $mod+g exec --no-startup-id dmenu_run 51 | # A more modern dmenu replacement is rofi: 52 | bindsym $mod+d exec rofi -show drun -display-drun "Search " 53 | bindsym $mod+g exec rofi -show run -display-run "Search packages " 54 | # There also is i3-dmenu-desktop which only displays applications shipping a 55 | # .desktop file. It is a wrapper around dmenu, so you need that installed. 56 | # bindsym $mod+d exec --no-startup-id i3-dmenu-desktop 57 | 58 | # change focus 59 | bindsym $mod+j focus left 60 | bindsym $mod+k focus down 61 | bindsym $mod+l focus up 62 | bindsym $mod+semicolon focus right 63 | 64 | # alternatively, you can use the cursor keys: 65 | bindsym $mod+Left focus left 66 | bindsym $mod+Down focus down 67 | bindsym $mod+Up focus up 68 | bindsym $mod+Right focus right 69 | 70 | # move focused window 71 | bindsym $mod+Shift+j move left 72 | bindsym $mod+Shift+k move down 73 | bindsym $mod+Shift+l move up 74 | bindsym $mod+Shift+semicolon move right 75 | 76 | # alternatively, you can use the cursor keys: 77 | bindsym $mod+Shift+Left move left 78 | bindsym $mod+Shift+Down move down 79 | bindsym $mod+Shift+Up move up 80 | bindsym $mod+Shift+Right move right 81 | 82 | # split in horizontal orientation 83 | bindsym $mod+h split h 84 | 85 | # split in vertical orientation 86 | bindsym $mod+v split v 87 | 88 | # enter fullscreen mode for the focused container 89 | bindsym $mod+f fullscreen toggle 90 | 91 | # change container layout (stacked, tabbed, toggle split) 92 | bindsym $mod+s layout stacking 93 | bindsym $mod+w layout tabbed 94 | bindsym $mod+e layout toggle split 95 | 96 | # toggle tiling / floating 97 | bindsym $mod+Shift+space floating toggle 98 | 99 | # change focus between tiling / floating windows 100 | bindsym $mod+space focus mode_toggle 101 | 102 | # focus the parent container 103 | bindsym $mod+a focus parent 104 | 105 | # focus the child container 106 | #bindsym $mod+d focus child 107 | 108 | # Define names for default workspaces for which we configure key bindings later on. 109 | # We use variables to avoid repeating the names in multiple places. 110 | set $ws1 "1: Workspace" 111 | set $ws2 "2: Spotify" 112 | set $ws3 "3: Firefox" 113 | set $ws4 "4" 114 | set $ws5 "5" 115 | set $ws6 "6" 116 | set $ws7 "7" 117 | set $ws8 "8" 118 | set $ws9 "9" 119 | set $ws10 "10" 120 | 121 | # switch to workspace 122 | bindsym $mod+1 workspace number $ws1 123 | bindsym $mod+2 workspace number $ws2 124 | bindsym $mod+3 workspace number $ws3 125 | bindsym $mod+4 workspace number $ws4 126 | bindsym $mod+5 workspace number $ws5 127 | bindsym $mod+6 workspace number $ws6 128 | bindsym $mod+7 workspace number $ws7 129 | bindsym $mod+8 workspace number $ws8 130 | bindsym $mod+9 workspace number $ws9 131 | bindsym $mod+0 workspace number $ws10 132 | 133 | # move focused container to workspace 134 | bindsym $mod+Shift+1 move container to workspace number $ws1 135 | bindsym $mod+Shift+2 move container to workspace number $ws2 136 | bindsym $mod+Shift+3 move container to workspace number $ws3 137 | bindsym $mod+Shift+4 move container to workspace number $ws4 138 | bindsym $mod+Shift+5 move container to workspace number $ws5 139 | bindsym $mod+Shift+6 move container to workspace number $ws6 140 | bindsym $mod+Shift+7 move container to workspace number $ws7 141 | bindsym $mod+Shift+8 move container to workspace number $ws8 142 | bindsym $mod+Shift+9 move container to workspace number $ws9 143 | bindsym $mod+Shift+0 move container to workspace number $ws10 144 | 145 | # reload the configuration file 146 | bindsym $mod+Shift+c reload 147 | # restart i3 inplace (preserves your layout/session, can be used to upgrade i3) 148 | bindsym $mod+Shift+r restart 149 | # exit i3 (logs you out of your X session) 150 | 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'" 151 | 152 | # resize window (you can also use the mouse for that) 153 | mode "resize" { 154 | # These bindings trigger as soon as you enter the resize mode 155 | 156 | # Pressing left will shrink the window’s width. 157 | # Pressing right will grow the window’s width. 158 | # Pressing up will shrink the window’s height. 159 | # Pressing down will grow the window’s height. 160 | bindsym j resize shrink width 10 px or 10 ppt 161 | bindsym k resize grow height 10 px or 10 ppt 162 | bindsym l resize shrink height 10 px or 10 ppt 163 | bindsym semicolon resize grow width 10 px or 10 ppt 164 | 165 | # same bindings, but for the arrow keys 166 | bindsym Left resize shrink width 10 px or 10 ppt 167 | bindsym Down resize grow height 10 px or 10 ppt 168 | bindsym Up resize shrink height 10 px or 10 ppt 169 | bindsym Right resize grow width 10 px or 10 ppt 170 | 171 | # back to normal: Enter or Escape or $mod+r 172 | bindsym Return mode "default" 173 | bindsym Escape mode "default" 174 | bindsym $mod+r mode "default" 175 | } 176 | 177 | bindsym $mod+r mode "resize" 178 | 179 | # Disable window titlebars entirely 180 | for_window [class="^.*"] border pixel 1 181 | 182 | gaps inner 10 183 | gaps outer 15 184 | 185 | smart_borders on 186 | 187 | set $mode_gaps Gaps: (o) outer, (i) inner 188 | set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global) 189 | set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global) 190 | bindsym $mod+Shift+g mode "$mode_gaps" 191 | 192 | mode "$mode_gaps" { 193 | bindsym o mode "$mode_gaps_outer" 194 | bindsym i mode "$mode_gaps_inner" 195 | bindsym Return mode "default" 196 | bindsym Escape mode "default" 197 | } 198 | 199 | mode "$mode_gaps_inner" { 200 | bindsym plus gaps inner current plus 5 201 | bindsym minus gaps inner current minus 5 202 | bindsym 0 gaps inner current set 0 203 | 204 | bindsym Shift+plus gaps inner all plus 5 205 | bindsym Shift+minus gaps inner all minus 5 206 | bindsym Shift+0 gaps inner all set 5 207 | 208 | bindsym Return mode "default" 209 | bindsym Escape mode "default" 210 | } 211 | 212 | mode "$mode_gaps_outer" { 213 | bindsym plus gaps outer current plus 5 214 | bindsym minus gaps outer current minus 5 215 | bindsym 0 gaps outer current set 0 216 | 217 | bindsym Shift+plus gaps outer all plus 5 218 | bindsym Shift+minus gaps outer all minus 5 219 | bindsym Shift+0 gaps outer all set 5 220 | 221 | bindsym Return mode "default" 222 | bindsym Escape mode "default" 223 | } 224 | 225 | # Start i3bar to display a workspace bar (plus the system information i3status 226 | # finds out, if available) 227 | # bar { 228 | # status_command i3status 229 | # } 230 | 231 | # Keyboard Layout 232 | exec_always --no-startup-id setxkbmap tr 233 | 234 | # Wallpaper 235 | exec_always --no-startup-id feh --bg-fill ~/Downloads/wp.jpg 236 | 237 | # Brightness 238 | bindsym XF86MonBrightnessUp exec xbacklight -inc 20 239 | bindsym XF86MonBrightnessDown exec xbacklight -dec 20 240 | 241 | # Picom 242 | exec_always --no-startup-id picom -f 243 | 244 | # Assign programs to workspaces 245 | # for_window [class="firefox"] move to workspace $ws3 246 | # for_window [class="Spotify"] move to workspace $ws2 247 | 248 | focus_follows_mouse no 249 | 250 | # Polybar launch script 251 | exec_always --no-startup-id $HOME/.config/polybar/launch.sh 252 | 253 | # exec_always --no-startup-id i3-sensible-terminal 254 | -------------------------------------------------------------------------------- /i3/picom.conf: -------------------------------------------------------------------------------- 1 | ################################# 2 | # Shadows # 3 | ################################# 4 | 5 | 6 | # Enabled client-side shadows on windows. Note desktop windows 7 | # (windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow, 8 | # unless explicitly requested using the wintypes option. 9 | # 10 | # shadow = false 11 | shadow = true; 12 | 13 | # The blur radius for shadows, in pixels. (defaults to 12) 14 | # shadow-radius = 12 15 | shadow-radius = 7; 16 | 17 | # The opacity of shadows. (0.0 - 1.0, defaults to 0.75) 18 | # shadow-opacity = .75 19 | 20 | # The left offset for shadows, in pixels. (defaults to -15) 21 | # shadow-offset-x = -15 22 | shadow-offset-x = -7; 23 | 24 | # The top offset for shadows, in pixels. (defaults to -15) 25 | # shadow-offset-y = -15 26 | shadow-offset-y = -7; 27 | 28 | # Avoid drawing shadows on dock/panel windows. This option is deprecated, 29 | # you should use the *wintypes* option in your config file instead. 30 | # 31 | # no-dock-shadow = false 32 | 33 | # Don't draw shadows on drag-and-drop windows. This option is deprecated, 34 | # you should use the *wintypes* option in your config file instead. 35 | # 36 | # no-dnd-shadow = false 37 | 38 | # Red color value of shadow (0.0 - 1.0, defaults to 0). 39 | # shadow-red = 0 40 | 41 | # Green color value of shadow (0.0 - 1.0, defaults to 0). 42 | # shadow-green = 0 43 | 44 | # Blue color value of shadow (0.0 - 1.0, defaults to 0). 45 | # shadow-blue = 0 46 | 47 | # Do not paint shadows on shaped windows. Note shaped windows 48 | # here means windows setting its shape through X Shape extension. 49 | # Those using ARGB background is beyond our control. 50 | # Deprecated, use 51 | # shadow-exclude = 'bounding_shaped' 52 | # or 53 | # shadow-exclude = 'bounding_shaped && !rounded_corners' 54 | # instead. 55 | # 56 | # shadow-ignore-shaped = '' 57 | 58 | # Specify a list of conditions of windows that should have no shadow. 59 | # 60 | # examples: 61 | # shadow-exclude = "n:e:Notification"; 62 | # 63 | # shadow-exclude = [] 64 | shadow-exclude = [ 65 | "name = 'Notification'", 66 | "class_g = 'Conky'", 67 | "class_g ?= 'Notify-osd'", 68 | "class_g = 'Cairo-clock'", 69 | "_GTK_FRAME_EXTENTS@:c" 70 | ]; 71 | 72 | # Specify a X geometry that describes the region in which shadow should not 73 | # be painted in, such as a dock window region. Use 74 | # shadow-exclude-reg = "x10+0+0" 75 | # for example, if the 10 pixels on the bottom of the screen should not have shadows painted on. 76 | # 77 | # shadow-exclude-reg = "" 78 | 79 | # Crop shadow of a window fully on a particular Xinerama screen to the screen. 80 | # xinerama-shadow-crop = false 81 | 82 | 83 | ################################# 84 | # Fading # 85 | ################################# 86 | 87 | 88 | # Fade windows in/out when opening/closing and when opacity changes, 89 | # unless no-fading-openclose is used. 90 | # fading = false 91 | fading = true 92 | 93 | # Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028) 94 | # fade-in-step = 0.028 95 | fade-in-step = 0.03; 96 | 97 | # Opacity change between steps while fading out. (0.01 - 1.0, defaults to 0.03) 98 | # fade-out-step = 0.03 99 | fade-out-step = 0.03; 100 | 101 | # The time between steps in fade step, in milliseconds. (> 0, defaults to 10) 102 | # fade-delta = 10 103 | 104 | # Specify a list of conditions of windows that should not be faded. 105 | # fade-exclude = [] 106 | 107 | # Do not fade on window open/close. 108 | # no-fading-openclose = false 109 | 110 | # Do not fade destroyed ARGB windows with WM frame. Workaround of bugs in Openbox, Fluxbox, etc. 111 | # no-fading-destroyed-argb = false 112 | 113 | 114 | ################################# 115 | # Transparency / Opacity # 116 | ################################# 117 | 118 | 119 | # Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0) 120 | # inactive-opacity = 1 121 | inactive-opacity = 1.0; 122 | 123 | # Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default) 124 | # frame-opacity = 1.0 125 | frame-opacity = 1.0; 126 | 127 | # Default opacity for dropdown menus and popup menus. (0.0 - 1.0, defaults to 1.0) 128 | # menu-opacity = 1.0 129 | 130 | # Let inactive opacity set by -i override the '_NET_WM_OPACITY' values of windows. 131 | # inactive-opacity-override = true 132 | inactive-opacity-override = false; 133 | 134 | # Default opacity for active windows. (0.0 - 1.0, defaults to 1.0) 135 | # active-opacity = 1.0 136 | 137 | # Dim inactive windows. (0.0 - 1.0, defaults to 0.0) 138 | # inactive-dim = 0.0 139 | 140 | # Specify a list of conditions of windows that should always be considered focused. 141 | # focus-exclude = [] 142 | focus-exclude = [ "class_g = 'Cairo-clock'" ]; 143 | 144 | # Use fixed inactive dim value, instead of adjusting according to window opacity. 145 | # inactive-dim-fixed = 1.0 146 | 147 | # Specify a list of opacity rules, in the format `PERCENT:PATTERN`, 148 | # like `50:name *= "Firefox"`. picom-trans is recommended over this. 149 | # Note we don't make any guarantee about possible conflicts with other 150 | # programs that set '_NET_WM_WINDOW_OPACITY' on frame or client windows. 151 | # example: 152 | # opacity-rule = [ "80:class_g = 'URxvt'" ]; 153 | # 154 | # opacity-rule = [] 155 | 156 | 157 | ################################# 158 | # Background-Blurring # 159 | ################################# 160 | 161 | 162 | # Parameters for background blurring, see the *BLUR* section for more information. 163 | blur-method = "dual_kawase"; 164 | blur-strength = 15; 165 | # blur-size = 12 166 | # 167 | # blur-deviation = false 168 | 169 | # Blur background of semi-transparent / ARGB windows. 170 | # Bad in performance, with driver-dependent behavior. 171 | # The name of the switch may change without prior notifications. 172 | # 173 | # blur-background = false 174 | blur-background = true 175 | 176 | # Blur background of windows when the window frame is not opaque. 177 | # Implies: 178 | # blur-background 179 | # Bad in performance, with driver-dependent behavior. The name may change. 180 | # 181 | # blur-background-frame = false 182 | 183 | 184 | # Use fixed blur strength rather than adjusting according to window opacity. 185 | # blur-background-fixed = false 186 | 187 | 188 | # Specify the blur convolution kernel, with the following format: 189 | # example: 190 | # blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"; 191 | # 192 | # blur-kern = '' 193 | blur-kern = "3x3box"; 194 | 195 | 196 | # Exclude conditions for background blur. 197 | # blur-background-exclude = [] 198 | blur-background-exclude = [ 199 | "window_type = 'dock'", 200 | "window_type = 'desktop'", 201 | "_GTK_FRAME_EXTENTS@:c" 202 | ]; 203 | 204 | ################################# 205 | # General Settings # 206 | ################################# 207 | 208 | # Daemonize process. Fork to background after initialization. Causes issues with certain (badly-written) drivers. 209 | # daemon = false 210 | 211 | # Specify the backend to use: `xrender`, `glx`, or `xr_glx_hybrid`. 212 | # `xrender` is the default one. 213 | # 214 | backend = 'glx'; 215 | # backend = "xrender"; 216 | 217 | # Enable/disable VSync. 218 | # vsync = false 219 | vsync = true 220 | 221 | # Enable remote control via D-Bus. See the *D-BUS API* section below for more details. 222 | # dbus = false 223 | 224 | # Try to detect WM windows (a non-override-redirect window with no 225 | # child that has 'WM_STATE') and mark them as active. 226 | # 227 | # mark-wmwin-focused = false 228 | mark-wmwin-focused = true; 229 | 230 | # Mark override-redirect windows that doesn't have a child window with 'WM_STATE' focused. 231 | # mark-ovredir-focused = false 232 | mark-ovredir-focused = true; 233 | 234 | # Try to detect windows with rounded corners and don't consider them 235 | # shaped windows. The accuracy is not very high, unfortunately. 236 | # 237 | # detect-rounded-corners = false 238 | detect-rounded-corners = true; 239 | 240 | # Detect '_NET_WM_OPACITY' on client windows, useful for window managers 241 | # not passing '_NET_WM_OPACITY' of client windows to frame windows. 242 | # 243 | # detect-client-opacity = false 244 | detect-client-opacity = true; 245 | 246 | # Specify refresh rate of the screen. If not specified or 0, picom will 247 | # try detecting this with X RandR extension. 248 | # 249 | # refresh-rate = 60 250 | refresh-rate = 0 251 | 252 | # Limit picom to repaint at most once every 1 / 'refresh_rate' second to 253 | # boost performance. This should not be used with 254 | # vsync drm/opengl/opengl-oml 255 | # as they essentially does sw-opti's job already, 256 | # unless you wish to specify a lower refresh rate than the actual value. 257 | # 258 | # sw-opti = 259 | 260 | # Use EWMH '_NET_ACTIVE_WINDOW' to determine currently focused window, 261 | # rather than listening to 'FocusIn'/'FocusOut' event. Might have more accuracy, 262 | # provided that the WM supports it. 263 | # 264 | # use-ewmh-active-win = false 265 | 266 | # Unredirect all windows if a full-screen opaque window is detected, 267 | # to maximize performance for full-screen windows. Known to cause flickering 268 | # when redirecting/unredirecting windows. 269 | # 270 | # unredir-if-possible = false 271 | 272 | # Delay before unredirecting the window, in milliseconds. Defaults to 0. 273 | # unredir-if-possible-delay = 0 274 | 275 | # Conditions of windows that shouldn't be considered full-screen for unredirecting screen. 276 | # unredir-if-possible-exclude = [] 277 | 278 | # Use 'WM_TRANSIENT_FOR' to group windows, and consider windows 279 | # in the same group focused at the same time. 280 | # 281 | # detect-transient = false 282 | detect-transient = true 283 | 284 | # Use 'WM_CLIENT_LEADER' to group windows, and consider windows in the same 285 | # group focused at the same time. 'WM_TRANSIENT_FOR' has higher priority if 286 | # detect-transient is enabled, too. 287 | # 288 | # detect-client-leader = false 289 | detect-client-leader = true 290 | 291 | # Resize damaged region by a specific number of pixels. 292 | # A positive value enlarges it while a negative one shrinks it. 293 | # If the value is positive, those additional pixels will not be actually painted 294 | # to screen, only used in blur calculation, and such. (Due to technical limitations, 295 | # with use-damage, those pixels will still be incorrectly painted to screen.) 296 | # Primarily used to fix the line corruption issues of blur, 297 | # in which case you should use the blur radius value here 298 | # (e.g. with a 3x3 kernel, you should use `--resize-damage 1`, 299 | # with a 5x5 one you use `--resize-damage 2`, and so on). 300 | # May or may not work with *--glx-no-stencil*. Shrinking doesn't function correctly. 301 | # 302 | # resize-damage = 1 303 | 304 | # Specify a list of conditions of windows that should be painted with inverted color. 305 | # Resource-hogging, and is not well tested. 306 | # 307 | # invert-color-include = [] 308 | 309 | # GLX backend: Avoid using stencil buffer, useful if you don't have a stencil buffer. 310 | # Might cause incorrect opacity when rendering transparent content (but never 311 | # practically happened) and may not work with blur-background. 312 | # My tests show a 15% performance boost. Recommended. 313 | # 314 | # glx-no-stencil = false 315 | 316 | # GLX backend: Avoid rebinding pixmap on window damage. 317 | # Probably could improve performance on rapid window content changes, 318 | # but is known to break things on some drivers (LLVMpipe, xf86-video-intel, etc.). 319 | # Recommended if it works. 320 | # 321 | # glx-no-rebind-pixmap = false 322 | 323 | # Disable the use of damage information. 324 | # This cause the whole screen to be redrawn everytime, instead of the part of the screen 325 | # has actually changed. Potentially degrades the performance, but might fix some artifacts. 326 | # The opposing option is use-damage 327 | # 328 | # no-use-damage = false 329 | use-damage = true 330 | 331 | # Use X Sync fence to sync clients' draw calls, to make sure all draw 332 | # calls are finished before picom starts drawing. Needed on nvidia-drivers 333 | # with GLX backend for some users. 334 | # 335 | # xrender-sync-fence = false 336 | 337 | # GLX backend: Use specified GLSL fragment shader for rendering window contents. 338 | # See `compton-default-fshader-win.glsl` and `compton-fake-transparency-fshader-win.glsl` 339 | # in the source tree for examples. 340 | # 341 | # glx-fshader-win = '' 342 | 343 | # Force all windows to be painted with blending. Useful if you 344 | # have a glx-fshader-win that could turn opaque pixels transparent. 345 | # 346 | # force-win-blend = false 347 | 348 | # Do not use EWMH to detect fullscreen windows. 349 | # Reverts to checking if a window is fullscreen based only on its size and coordinates. 350 | # 351 | # no-ewmh-fullscreen = false 352 | 353 | # Dimming bright windows so their brightness doesn't exceed this set value. 354 | # Brightness of a window is estimated by averaging all pixels in the window, 355 | # so this could comes with a performance hit. 356 | # Setting this to 1.0 disables this behaviour. Requires --use-damage to be disabled. (default: 1.0) 357 | # 358 | # max-brightness = 1.0 359 | 360 | # Make transparent windows clip other windows like non-transparent windows do, 361 | # instead of blending on top of them. 362 | # 363 | # transparent-clipping = false 364 | 365 | # Set the log level. Possible values are: 366 | # "trace", "debug", "info", "warn", "error" 367 | # in increasing level of importance. Case doesn't matter. 368 | # If using the "TRACE" log level, it's better to log into a file 369 | # using *--log-file*, since it can generate a huge stream of logs. 370 | # 371 | # log-level = "debug" 372 | log-level = "warn"; 373 | 374 | # Set the log file. 375 | # If *--log-file* is never specified, logs will be written to stderr. 376 | # Otherwise, logs will to written to the given file, though some of the early 377 | # logs might still be written to the stderr. 378 | # When setting this option from the config file, it is recommended to use an absolute path. 379 | # 380 | # log-file = '/path/to/your/log/file' 381 | 382 | # Show all X errors (for debugging) 383 | # show-all-xerrors = false 384 | 385 | # Write process ID to a file. 386 | # write-pid-path = '/path/to/your/log/file' 387 | 388 | # Window type settings 389 | # 390 | # 'WINDOW_TYPE' is one of the 15 window types defined in EWMH standard: 391 | # "unknown", "desktop", "dock", "toolbar", "menu", "utility", 392 | # "splash", "dialog", "normal", "dropdown_menu", "popup_menu", 393 | # "tooltip", "notification", "combo", and "dnd". 394 | # 395 | # Following per window-type options are available: :: 396 | # 397 | # fade, shadow::: 398 | # Controls window-type-specific shadow and fade settings. 399 | # 400 | # opacity::: 401 | # Controls default opacity of the window type. 402 | # 403 | # focus::: 404 | # Controls whether the window of this type is to be always considered focused. 405 | # (By default, all window types except "normal" and "dialog" has this on.) 406 | # 407 | # full-shadow::: 408 | # Controls whether shadow is drawn under the parts of the window that you 409 | # normally won't be able to see. Useful when the window has parts of it 410 | # transparent, and you want shadows in those areas. 411 | # 412 | # redir-ignore::: 413 | # Controls whether this type of windows should cause screen to become 414 | # redirected again after been unredirected. If you have unredir-if-possible 415 | # set, and doesn't want certain window to cause unnecessary screen redirection, 416 | # you can set this to `true`. 417 | # 418 | wintypes: 419 | { 420 | tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; }; 421 | dock = { shadow = false; } 422 | dnd = { shadow = false; } 423 | popup_menu = { opacity = 0.8; } 424 | dropdown_menu = { opacity = 0.8; } 425 | }; 426 | -------------------------------------------------------------------------------- /polybar/config: -------------------------------------------------------------------------------- 1 | ;========================================================== 2 | ; 3 | ; 4 | ; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗ 5 | ; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗ 6 | ; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝ 7 | ; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗ 8 | ; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║ 9 | ; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ 10 | ; 11 | ; 12 | ; To learn more about how to configure Polybar 13 | ; go to https://github.com/polybar/polybar 14 | ; 15 | ; The README contains a lot of information 16 | ; 17 | ;========================================================== 18 | 19 | [colors] 20 | ;background = ${xrdb:color0:#222} 21 | background = #664A6594 22 | background-alt = #66#4A6594 23 | ;foreground = ${xrdb:color7:#222} 24 | foreground = #FFFFFF 25 | foreground-alt = #ffffff 26 | primary = #ffb52a 27 | secondary = #ffffff 28 | alert = #bd2c40 29 | 30 | [bar/example] 31 | ;monitor = ${env:MONITOR:HDMI-1} 32 | width = 100% 33 | height = 27 34 | ;offset-x = 15% 35 | ;offset-y = 5% 36 | radius = 0.0 37 | fixed-center = false 38 | enable-ipc = true 39 | 40 | background = ${colors.background} 41 | foreground = ${colors.foreground} 42 | 43 | ;line-size = 2 44 | ;line-color = #f00 45 | 46 | border-size = 0 47 | border-color = #00000000 48 | 49 | padding-left = 2 50 | padding-right = 1 51 | 52 | module-margin = 4 53 | ;module-margin-left = 1 54 | ;module-margin-right = 3 55 | 56 | separator = %{F#A4A4A4}|%{F-} 57 | 58 | ;font-0 = MesloLGS NF:style=Bold:pixelsize=10; 59 | font-0 = SF Pro Display:style=Bold:pixelsize=10;2 60 | font-1 = Hack-Regular:pixelsize=10;2 61 | font-2 = Apple Color Emoji:fontformat=truetype:scale=10:antialias=false;2 62 | 63 | ;xwindow = Pencere adını 64 | ;xkeyboard = Klavye dili ve Capslock fonksiyonları 65 | 66 | modules-left = i3 spotify 67 | modules-right = gmail xbacklight pulseaudio wlan cpu memory battery temperature date powermenu 68 | 69 | tray-position = right 70 | tray-padding = 1 71 | ;tray-background = #0063ff 72 | 73 | ;wm-restack = bspwm 74 | ;wm-restack = i3 75 | 76 | ;override-redirect = true 77 | 78 | ;scroll-up = bspwm-desknext 79 | ;scroll-down = bspwm-deskprev 80 | 81 | scroll-up = i3wm-wsnext 82 | scroll-down = i3wm-wsprev 83 | 84 | cursor-click = pointer 85 | ;cursor-scroll = ns-resize 86 | 87 | [module/xwindow] 88 | type = internal/xwindow 89 | label = %title:0:30:...% 90 | 91 | [module/xkeyboard] 92 | type = internal/xkeyboard 93 | blacklist-0 = num lock 94 | 95 | ;format-prefix = " " 96 | ;format-prefix-foreground = ${colors.foreground-alt} 97 | ;format-prefix-underline = ${colors.secondary} 98 | 99 | label-layout = 100 | label-layout-underline = ${colors.secondary} 101 | 102 | label-indicator-padding = 2 103 | label-indicator-margin = 1 104 | label-indicator-background = #664A6594 105 | label-indicator-underline = ${colors.secondary} 106 | 107 | [module/filesystem] 108 | type = internal/fs 109 | interval = 25 110 | 111 | mount-0 = / 112 | 113 | label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%% 114 | label-unmounted = %mountpoint% not mounted 115 | label-unmounted-foreground = ${colors.foreground-alt} 116 | 117 | [module/bspwm] 118 | type = internal/bspwm 119 | 120 | label-focused = %index% 121 | label-focused-background = ${colors.background-alt} 122 | label-focused-underline= ${colors.primary} 123 | label-focused-padding = 2 124 | 125 | label-occupied = %index% 126 | label-occupied-padding = 2 127 | 128 | label-urgent = %index%! 129 | label-urgent-background = ${colors.alert} 130 | label-urgent-padding = 2 131 | 132 | label-empty = %index% 133 | label-empty-foreground = ${colors.foreground-alt} 134 | label-empty-padding = 2 135 | 136 | ; Separator in between workspaces 137 | ; label-separator = | 138 | 139 | [module/i3] 140 | type = internal/i3 141 | format = 142 | index-sort = true 143 | wrapping-scroll = false 144 | 145 | ; Only show workspaces on the same output as the bar 146 | ;pin-workspaces = true 147 | 148 | label-mode-padding = 2 149 | label-mode-foreground = #000 150 | label-mode-background = ${colors.primary} 151 | 152 | ; focused = Active workspace on focused monitor 153 | label-focused = %index% 154 | label-focused-background = ${colors.background-alt} 155 | label-focused-underline= ${colors.primary} 156 | label-focused-padding = 2 157 | 158 | ; unfocused = Inactive workspace on any monitor 159 | label-unfocused = %index% 160 | label-unfocused-foreground = #969696 161 | label-unfocused-padding = 2 162 | 163 | ; visible = Active workspace on unfocused monitor 164 | label-visible = %index% 165 | label-visible-background = ${self.label-focused-background} 166 | label-visible-underline = ${self.label-focused-underline} 167 | label-visible-padding = ${self.label-focused-padding} 168 | 169 | ; urgent = Workspace with urgency hint set 170 | label-urgent = %index% 171 | label-urgent-background = ${colors.alert} 172 | label-urgent-padding = 2 173 | 174 | ; Separator in between workspaces 175 | ; label-separator = | 176 | 177 | [module/gmail] 178 | type = custom/script 179 | exec = ~/.config/polybar/gmail/launch.py 180 | tail = true 181 | click-left = xdg-open https://mail.google.com 182 | 183 | [module/mpd] 184 | type = internal/mpd 185 | format-online = 186 | 187 | icon-prev =  188 | icon-stop =  189 | icon-play =  190 | icon-pause =  191 | icon-next =  192 | 193 | label-song-maxlen = 25 194 | label-song-ellipsis = true 195 | 196 | [module/xbacklight] 197 | type = internal/xbacklight 198 | 199 | format-prefix = "💡 " 200 | format =