diff --git a/home-manager-modules/i3/config b/home-manager-modules/i3/config deleted file mode 100644 index d5358da..0000000 --- a/home-manager-modules/i3/config +++ /dev/null @@ -1,265 +0,0 @@ -# This file has been auto-generated by i3-config-wizard(1). -# It will not be overwritten, so edit it as you like. -# -# Should you change your keyboard layout some time, delete -# this file and re-run i3-config-wizard(1). -# - -# i3 config file (v4) -# -# Please see http://i3wm.org/docs/userguide.html for a complete reference! - -#Execs - -exec_always xrandr --output $leftm --primary --mode 1920x1080 --pos 0x0 --rotate normal --output $rightm --mode 1920x1080 --pos 1920x0 --rotate normal - - -#exec_always xrandr --output $leftm --primary --mode 1920x1080 --pos 0x0 --rotate normal - -exec_always feh --bg-scale ~/df/bg.jpg - -# Variables {{{ - -set $sup Mod1 -set $terminal tabbed -c urxvt -embed -set $leftm HDMI-1 -set $rightm eDP-1 - -set $workspace1 "" -set $workspace2 "" -set $workspace3 "" -set $workspace4 "4" -set $workspace5 "5" -set $workspace6 "6" -set $workspace7 "7" -set $workspace8 "8" -set $workspace9 "9" -set $workspace10 "" -# }}} - - -workspace "" output $leftm -workspace "" output $rightm -workspace "" output $rightm - - - -#Set Mod -set $mod Mod4 - -set $bg-color #172A47 -set $text-color #5A9857 -set $urgent-bg-color #E53935 -set $inactive-bg-color #435E75 - - -########################################## - -#Scrolling - doesn't work -#exec --no-startup-id synclient HorizEdgeScroll=1 VertEdgeScroll=1 VertScrollDelta=-111 - -#WORKSPACE STARTUP - -#Gaps and Window - -for_window [class="^.*"] border pixel 2 -#new_window pixel 4 -#new_float pixel 4 -#gaps inner 20 -gaps inner 10 -#border_radius 5 -#new_window pixel 3 -#new_float pixel 3 -#gaps top 35 -hide_edge_borders vertical - -# Color variables -set $unfocused_border #72afff -set $focused_border #b21c0e - -# class border backgr. text indicator -client.focused #698AB2 #698AB2 #698AB2 #698AB2 #698AB2 -#client.focused_inactive $base03 $base03 $base05 $base03 -#client.unfocused $base03 $base03 $base05 $base00 -#client.urgent $base01 $base01 $base05 $base00 - - -#Check .Xresources for font - -# start a terminal -bindsym $mod+Return workspace  -bindsym $mod+Shift+Return exec urxvt - -# kill focused window -bindsym $mod+q kill - -# start rofi - -bindsym $mod+space exec rofi -show run - - -# change focus - -# alternatively, you can use the cursor keys: -bindsym $mod+h focus left -bindsym $mod+j focus down -bindsym $mod+k focus up -bindsym $mod+l focus right - - -# alternatively, you can use the cursor keys: -bindsym $mod+Shift+h move left -bindsym $mod+Shift+j move down -bindsym $mod+Shift+k move up -bindsym $mod+Shift+l move right - -# split in horizontal orientation -bindsym $mod+o split h - -# split in vertical orientation -bindsym $mod+v split v - -# enter fullscreen mode for the focused container -bindsym $mod+f fullscreen toggle - -# change container layout (stacked, tabbed, toggle split) -bindsym $mod+s layout stacking -bindsym $mod+w layout tabbed -bindsym $mod+e layout toggle split - -# toggle tiling / floating -bindsym $mod+Shift+space floating toggle - -# change focus between tiling / floating windows -#bindsym $mod+space focus mode_toggle - -# focus the parent container -bindsym $mod+a focus parent - -# focus the child container -#bindsym $mod+d focus child - -bindsym $mod+Ctrl+Left move workspace to output $leftm -bindsym $mod+Ctrl+Right move workspace to output $rightm - - -# switch to workspace -bindsym $mod+1 workspace  -bindsym $mod+2 workspace  -bindsym $mod+3 workspace  -bindsym $mod+4 workspace 4 -bindsym $mod+5 workspace 5 -bindsym $mod+6 workspace 6 -bindsym $mod+7 workspace 7 -bindsym $mod+8 workspace 8 -bindsym $mod+9 workspace 9 -bindsym $mod+0 workspace  - -# move focused container to workspace -bindsym $mod+Shift+1 move container to workspace  -bindsym $mod+Shift+2 move container to workspace  -bindsym $mod+Shift+3 move container to workspace  -bindsym $mod+Shift+4 move container to workspace 4 -bindsym $mod+Shift+5 move container to workspace 5 -bindsym $mod+Shift+6 move container to workspace 6 -bindsym $mod+Shift+7 move container to workspace 7 -bindsym $mod+Shift+8 move container to workspace 8 -bindsym $mod+Shift+9 move container to workspace 9 -bindsym $mod+Shift+0 move container to workspace  - - -#assign apps to workspaces -#assign [class = "URxvt"]  -assign [class = "Firefox"]  -assign [class = "discord"]  -assign[class="Atomic TweetDeck"]  -assign [class="Slack"]  -assign[class="Atom"] - - -# reload the configuration file -bindsym $mod+Shift+c reload -# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) -# also destroy anything in startup workspace -bindsym $mod+Shift+r restart [workspace=] kill -# 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'" - -# resize window (you can also use the mouse for that) -mode "resize" { - # These bindings trigger as soon as you enter the resize mode - - # Pressing left will shrink the window’s width. - # Pressing right will grow the window’s width. - # Pressing up will shrink the window’s height. - # Pressing down will grow the window’s height. - bindsym h resize shrink width 10 px or 10 ppt - bindsym j resize shrink height 10 px or 10 ppt - bindsym k resize grow height 10 px or 10 ppt - bindsym l resize grow width 10 px or 10 ppt - - # same bindings, but for the arrow keys - bindsym Left resize shrink width 10 px or 10 ppt - bindsym Down resize grow height 10 px or 10 ppt - bindsym Up resize shrink height 10 px or 10 ppt - bindsym Right resize grow width 10 px or 10 ppt - - # back to normal: Enter or Escape - bindsym $mod+R mode "default" - bindsym Return mode "default" - bindsym Escape mode "default" -} - -bindsym $mod+r mode "resize" -bindsym $mod+p exec i3lock-fancy - -# Start i3bar to display a workspace bar (plus the system information i3status -# finds out, if available) -#bar { -# font pango:DejaVu Sans Mono, Awesome 8 -# status_command i3blocks -# colors { -# background #23313D -# separator #757575 -# # border background text -# focused_workspace $inactive-bg-color $bg-color $text-color -# inactive_workspace $bg-color $bg-color $text-color -# urgent_workspace $urgent-bg-color $urgent-bg-color $text-color -# } -#} - - -#SCROT -bindsym --release Print exec "scrot ~/Pictures/Screenshots/%b%d:%H%M%S.png" - -# Alsa controls -bindsym XF86AudioMute exec amixer set Master toggle; exec pkill -RTMIN+10 i3blocks -bindsym XF86AudioRaiseVolume exec amixer set Master 5%+; exec pkill -RTMIN+10 i3blocks -bindsym XF86AudioLowerVolume exec amixer set Master 5%-; exec pkill -RTMIN+10 i3blocks - -#Pulse Audio controls -#bindsym XF86AudioRaiseVolume exec amixer -q -D pulse sset Master 2%+; -#exec pkill -RTMIN+10 i3blocks -#bindsym XF86AudioLowerVolume exec amixer -q -D pulse sset Master 2%-; -#exec pkill -RTMIN+10 i3blocks -#bindsym XF86AudioMute exec amixer -q -D pulse sset Master toggle; -#exec pkill -RTMIN+10 i3blocks - -# Sreen brightness controls -bindsym XF86MonBrightnessUp exec xbacklight -inc 20 # increase screen brightness -bindsym XF86MonBrightnessDown exec xbacklight -dec 20 # decrease screen brightness - -# Touchpad controls -bindsym XF86TouchpadToggle exec /some/path/toggletouchpad.sh # toggle touchpad - -# Media player controls -bindsym XF86AudioPlay exec playerctl play -bindsym XF86AudioPause exec playerctl pause -#bindsym XF86AudioNext exec playerctl next -#bindsym XF86AudioPrev exec playerctl previous - - -exec systemctl --user restart polybar -exec xrdb /home/julien/.Xressources - -#exec --no-startup-id i3-msg 'workspace ; exec urxvt;exec urxvt;exec urxvt;exec urxvt; workspace ' diff --git a/home-manager-modules/i3/default.nix b/home-manager-modules/i3/default.nix deleted file mode 100644 index 80c7733..0000000 --- a/home-manager-modules/i3/default.nix +++ /dev/null @@ -1,19 +0,0 @@ -{ config, pkgs, lib, ... }: -let - cfg = config.luj.i3; -in with lib; -{ - options.luj.i3 = { - enable = mkEnableOption "activate i3"; - }; - - config = mkIf cfg.enable { - xsession.windowManager.i3 = { - enable = true; - package = pkgs.i3-gaps; - }; - - xdg.configFile."i3/config".source = lib.mkForce ./config; - - }; -} diff --git a/home-manager-modules/polybar/config b/home-manager-modules/polybar/config deleted file mode 100644 index aed6c44..0000000 --- a/home-manager-modules/polybar/config +++ /dev/null @@ -1,434 +0,0 @@ -;------------------------------------------------- -; ; -; Polybar config for Cranium ; -; ; -;------------------------------------------------- - - -[colors] -;background = ${xrdb:color0:#222} -;background = #212E36 -background = #cf172a47 -;it's ARGB so "cfl" is for transparency -;background-alt = #cf3C5A46 -background-unf = #2D4058 - -;background-unf = #cf2E463E -background-alt = #405C7D -background-mod0 = #cf3C5A46 -background-mod1 = #cf546E53 -background-mod2 = #cf708963 -background-alrt = #cfA1BB76 - -;foreground = ${xrdb:color7:#222} -foreground = #F3F3BA -foreground-alt = #F3F3BA -primary = #F3F3BA -secondary = #F3F3BA - - -[bar/PolybarTony] -;monitor = ${env:MONITOR:HDMI-1} -;monitor = ${env:MONITOR:} -width = 100% -height = 30 -offset-x = 0% -;offset-y = 10% -radius = 0.0 -fixed-center = true - -background = ${colors.background} -foreground = ${colors.foreground} - -line-size = 0 -line-color = #f00 - -border-size = 0 -border-color = #00000000 - -padding-left = 0 -padding-right = 0 - -module-margin-left = 0 -module-margin-right = 0 - -font-0 = Misc Termsyn:size=8;1 -;font-0 = Ubuntu:size=10;1 -font-1 = FontAwesome:fontformat=truetype:size=12;1 -font-3 = Font Awesome 5 Free:style=Regular:pixelsize=8;1 -font-4 = Font Awesome 5 Free:style=Solid:pixelsize=8;1 -font-5 = Font Awesome 5 Brands:pixelsize=8;1 -font-2 = sm4tik:pixelsize=10;1 - -modules-left = i3 -modules-center = date -modules-right = wireless-network memory cpu battery powermenu - -tray-position = right -tray-padding = 11 -tray-transparent = false -tray-offset-y = 0 -tray-offset-x = 0 -tray-maxsize = 18 -tray-detached = false -tray-background = colors.background - -;wm-restack = bspwm -wm-restack = i3 - -override-redirect = false - -;scroll-up = bspwm-desknext -;scroll-down = bspwm-deskprev - -;scroll-up = i3wm-wsnext -;scroll-down = i3wm-wsprev - - -[module/weather] -type = custom/script -interval = 60 - -;format-background = ${colors.background-alt} -format =